The program gets closed after the background image has been taken.
guptaSatyanshu opened this issue · comments
guptaSatyanshu commented
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???
Mohamed AbdulRaouf commented
same here ?! any fix ?
Nenad Pantelić commented
Try with replacing bg_model = cv2.BackgroundSubtractorMOG2(0, 10), with cv2.createBackgroundSubtractorMOG2(0, 10).