harshbg / Sign-Language-Interpreter-using-Deep-Learning

A sign language interpreter using live video feed from the camera.
MIT License
497 stars 210 forks source link

cannot create gestures #15

Open vamshikulkarni opened 2 years ago

vamshikulkarni commented 2 years ago

create_gestures.py is giving an error when opening the camera and trying to find contours which it cannot find.

RayzicKA commented 2 years ago

create_gestures.py is giving an error when opening the camera and trying to find contours which it cannot find.

did u find the solution ????

PrathameshJadhav33 commented 1 year ago

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.