How to using webcam on jetson nano with deepstream 5.0?

Hi I’m using Jetson Nano and I’ve downloaded deepstream 5.0. I want to use a webcam to identify the ball with Jetson nano and deepstream5. 0, but I need the source code. Can you make a source code using deep stream?

First of all, check if your usb cam is working by typing ls /dev/vid*
If it shows anything under /dev/video0 or video1 or etc. you can use that webcam.
After that, go to deepstream configs under …/deepstream-5.0/samples/configs/deepstream-app/
There are many config files that include usb-cam input.
You can use config files by deepstream-app -c config.txt

There are too many txt file.
Which file should I look for?

The ones that include usb, like ‘source1_usb_dec_infer_resnet_int8.txt’

1 Like