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 540D shown by your camera.
8000
| Name | Name | Last commit date | ||
|---|---|---|---|---|
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
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 540D shown by your camera.