Emotion icon indicating copy to clipboard operation
Emotion copied to clipboard

Fix webcam capture

Open corollari opened this issue 5 years ago • 1 comments

When USE_WEBCAM is set to true the instruction cv2.VideoCapture(0) is run twice, which leads to it blocking the program and causing it to freeze.

This PR fixes that issue by removing the initial call, as it is dead code (it is assigned to a variable that is never used).

corollari avatar Feb 02 '20 16:02 corollari

@petercunha

corollari avatar Mar 10 '20 17:03 corollari