First time here? Check out the FAQ!
answered 2014-08-04 07:41:38 -0600
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);
imshow
cv::Mat
cv::Rect
imshow("Example1",image_1);