Skip to content

cannot create gestures #15

Open
Open
@vamshikulkarni

Description

@vamshikulkarni

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

Activity

RayzicKA

RayzicKA commented on Apr 2, 2022

@RayzicKA

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

PrathameshJadhav33 commented on Mar 5, 2023

@PrathameshJadhav33

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @PrathameshJadhav33@RayzicKA@vamshikulkarni

        Issue actions

          cannot create gestures · Issue #15 · harshbg/Sign-Language-Interpreter-using-Deep-Learning