- Adapted the opencv cv::VideoCapture code with usb camera on from USBCamera
- Resolution of the video : 640 x 480
mkdir build
cd build
cmake ..
make
cd build
./video_inteference_yolov5
- capture.open("/dev/video1") need to use your own camera device path.
- check usb camera device
cd /dev ls | grep video #see video0 detail info udevadm info --query=all --name=/dev/video0