You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I studied from the same channel and I have uploaded the handTracking module taught by this teacher, you can copy the code from there, there are few minor changes according to the new versions of media pipe
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.
The text was updated successfully, but these errors were encountered: