Yeah, you heard it right.
Just change the value of x in VideoCapture(x) to 0 or 1 depending on the camera used.0-Webcam 1-External device.
Run the file, take a red or a blue colour object and hit the drums as shown by your camera.
Yeah, you heard it right.
Just change the value of x in VideoCapture(x) to 0 or 1 depending on the camera used.0-Webcam 1-External device.
Run the file, take a red or a blue colour object and hit the drums as shown by your camera.