Sign-Language-Interpreter-using-Deep-Learning icon indicating copy to clipboard operation
Sign-Language-Interpreter-using-Deep-Learning copied to clipboard

cannot create gestures

Open vamshikulkarni opened this issue 3 years ago • 2 comments

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

vamshikulkarni avatar Nov 10 '21 16:11 vamshikulkarni

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 ????

RayzicKA avatar Apr 02 '22 09:04 RayzicKA

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.

PrathameshJadhav33 avatar Mar 05 '23 17:03 PrathameshJadhav33