Emotion
Emotion copied to clipboard
Fix webcam capture
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).
@petercunha