Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

It can't open the image correctly. Check if the path is correct and the file exist. The error is very easy to be understood: (-215:Assertion failed) size.width>0 && size.height>0 in function 'cv::imshow basically the function that have to show to you the image (imshow) throw an error because the size of the image is not positive, it means that the reading operation have failed.