...
Stop SNNF demo:
systemctl stop snnf-demo
;Get the format supported by the sensor:
v4l2-ctl --list-formats -d /dev/video40
v4l2-ctl --list-formats-ext -d /dev/video40
View the parameters supported by the SNNF Demo:
/usr/bin/snnf_demo -h
Code Block # /usr/bin/snnf_demo -h Version: 1.1.0 Usage: ./usr/bin/snnf_demo [options] Options: -h, --help Print this help message and exit -m, --model ARG Specify the model (default: pose, support model list: pose, segment, object, humanattr, ocr, lightface, age, face match, tracking, falling, CCPD, VehicleAttr, RTMDet-s, yolov10s, genderAge) -v, --video ARG Specify the video file or device (default: /dev/video0, e.g., /dev/video40, /mnt/test.mp4) -f, --format ARG Specify the video capture format (default: YUYV, only YUYV, UYVY, YUY2, H264, MJPG are supported) -s, --size ARG Specify the video capture size (default: 640x480, e.g., 1920x1080, 1280x720) -r, --framerate ARG Specify the video capture frame rate (default: 30)
Modify /etc/systemd/system/snnf-demo.service:
vi /etc/systemd/system/snnf-demo.service
...