Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

You need to learn programming. You need to verify that the image you give to imshow is valid, that is, that your imread succeeded. If your data is not good, your code will crash with more libraries than just OpenCV.