I am using a Logitec Brio camera. I followed the below link to read and access the camera which works fine at 30 fps.
I could run the below only from the terminal.
$ ./camera_v4l2_cuda -d /dev/video0 -s 640x480 -f YUYV -n 30 -c
I want to use this with cv2.videocapture() in Opencv, so that I can integrate with my CNN code.
Kindly help me on how to use ‘camera_v4l2_cuda’ with cv2.