Ask Your Question

Revision history [back]

check image size :

cout<<img.size();

and don't forget

waitKey(0);

check image size :

cout<<img.size();

and don't forget after imshow()

waitKey(0);