Ask Your Question

Revision history [back]

how i solve this error

Traceback (most recent call last): File "C:/Users/prajj/AppData/Local/Programs/Python/Python36-32/img1.py", line 6, in <module> cv2.imshow('image',img) cv2.error: C:\projects\opencv-python\opencv\modules\highgui\src\window.cpp:331: error: (-215) size.width>0 && size.height>0 in function cv::imshow

how i solve this error

Traceback (most recent call last): File "C:/Users/prajj/AppData/Local/Programs/Python/Python36-32/img1.py", line 6, in <module> cv2.imshow('image',img) cv2.error: C:\projects\opencv-python\opencv\modules\highgui\src\window.cpp:331: error: (-215) size.width>0 && size.height>0 in function cv::imshow