-
Notifications
You must be signed in to change notification settings - Fork 623
Open
Description
Hand Tracking | OpenCV | python
Facing an error due to this command
cv2.imshow ('Image', img)
cv2.error: OpenCV(4.5.2) C:\Users\runneradmin\AppData\Local\Temp\pip-req-build-k1ohfcms\opencv\modules\highgui\src\window.cpp:404: error: (-215:Assertion failed) size.width>0 && size.height>0 in function 'cv::imshow'
When I comment out the above command, the script is running fine giving all the desired results but without the image.
I checked with the OpenCV versions
Uninstalled opencv from pip and reinstalled using Anaconda but no change.
Metadata
Metadata
Assignees
Labels
No labels