I run the following command on jetson nano:
python3 detect.py --source 0 --weights yolov5s.pt
As you can see from the image above, the webcam has an input resolution of 2304*1536 and an fps of only 2. But normally the fps should be around 10. So I think the webcam’s input resolution is too high, which causes the inference speed to slow down. So how can I reduce the input resolution of the webcam?
And the webcam is Logitech C920 Pro Webcam.