mahaveerverma / hand-gesture-recognition-opencv

A project on hand detection and hand gesture recognition developed using OpenCV on Python 2.7.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The program gets closed after the background image has been taken.

guptaSatyanshu opened this issue · comments

After running Handrecognition.py a camera window appears and i click the background image and as it is taken it gets closed and nothing happens. Why is it so???

same here ?! any fix ?

Try with replacing bg_model = cv2.BackgroundSubtractorMOG2(0, 10), with cv2.createBackgroundSubtractorMOG2(0, 10).