Skip to content

Query USB Camera

  1. Make sure a USB camera is plugged into the system

  2. Install the necessary libraries

    sudo apt update
    sudo apt install v4l-utils -y
    
  3. List available video cameras

    ls -l /dev/vid*
    

    Note

    To get information about the development video ids, check the List dev video ids

  4. Execute a video, from the available list, for more information

    v4l2-ctl --list-formats-ext -d /dev/video0
    

    Note

    Here is information on how to Execute a dev video.

Example

Here is an example to run the pipeline with a USB camera on video0 for the core system:

sudo ./run.sh --platform core --inputsrc /dev/video0