triple-Mu / YOLOv8-TensorRT

YOLOv8 using TensorRT accelerate !
MIT License
1.23k stars 210 forks source link

how to perform inference with C++ using USB camera #209

Open Raekpruk opened 2 months ago

Raekpruk commented 2 months ago

IMG_2538 I followed these steps but I want to use a USB camera for inference. What command should I use?

triple-Mu commented 2 months ago

Maybe change the cap with cv::VideoCapture(0)?

Raekpruk commented 2 months ago

Fix file main.cpp ?