Webcam instead of rpicam

Hello, I’m using the Raspberry Pi AI Kit, all demo scripts are working well with rpicam, but I want to ask:
how can I use an external camera? Like a USB webcam, in order to interact with Hailo scripts normally.

Thanks for any help.

Take a look at the examples where they tell you how to use USB cam instead of rpicam.

Example For Using USB camera input:

Detect the available camera using this script:

python basic_pipelines/get_usb_camera.py

Run example using USB camera - Use the device found by the previous script:

python basic_pipelines/detection.py --input /dev/video