Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Your problem there is that imshow needs a cv::Mat parameter instead of cv::Rect. It is very explicit in the error message, so use imshow("Example1",image_1);