mahaveerverma / hand-gesture-recognition-opencv

A project on hand detection and hand gesture recognition developed using OpenCV on Python 2.7.
MIT License
315 stars 132 forks source link

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

Open guptaSatyanshu opened 4 years ago

guptaSatyanshu commented 4 years ago

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

MohRaouf commented 4 years ago

same here ?! any fix ?

NenadPantelic commented 4 years ago

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