Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CreateGest.py and get_hand_images.py both are not working #16

Open
omkarsabane opened this issue May 9, 2019 · 4 comments
Open

CreateGest.py and get_hand_images.py both are not working #16

omkarsabane opened this issue May 9, 2019 · 4 comments

Comments

@omkarsabane
Copy link

Hi, CreateGest.py and get_hand_images.py both are not working for me. even after videocapture(0) it is not able to start camera. I tried playing with while loop then it started camera, but as i am new to python and ML both i was not able to successfully execute it.

@mthomp89
Copy link

Same issue here: script does not start webcam. I'm using macOS Catalina. Do I have to start the webcam separately?

@mthomp89
Copy link

UPDATE

I had to install iTerm2 in order to gain access to the camera from the terminal.

@sohanatarafder99
Copy link

It is just capturing images not playing the video.

@mhsattarian
Copy link

mhsattarian commented Feb 7, 2020

take a look at OpenCV docs, cv2.findContours has changed:

https://docs.opencv.org/4.2.0/d3/dc0/group__imgproc__shape.html#gadf1ad6a0b82947fa1fe3c3d497f260e0

in the code, it should be like this:

contours = cv2.findContours(thresh.copy(), cv2.RETR_TREE, cv2.CHAIN_APPROX_NONE)[0]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants