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
For this issue you need to change the line in create_gestures.py
from
contours = cv2.findContours(thresh.copy(), cv2.RETR_TREE, cv2.CHAIN_APPROX_NONE)[1]
to
contours = cv2.findContours(thresh.copy(), cv2.RETR_TREE, cv2.CHAIN_APPROX_NONE)[0]
also you need to click 'c' as soon as the camera shows up.
create_gestures.py is giving an error when opening the camera and trying to find contours which it cannot find.
The text was updated successfully, but these errors were encountered: