Command Options: - 2020.2 English - XD336

Versal Base TRD Documentation (XD336)

Document ID
XD336
Release Date
2025-12-01
Version
2020.2 English
  • The examples show the capability of the smart-mipi-app for specific configurations. User can get more and detailed application options as following by invoking

smart-mipi-app -h
Usage:
smart-mipi-app [OPTION?] - Application for detction on VCK190 board of Xilinx.

Examples for 4 mipi camera:
smart-mipi-app
         # Run 4 channel mipi camera with 3840x2160 resolution monitor.
smart-mipi-app -W 1920 -H 1080
         # Change to 1920x1080 resolution monitor.
smart-mipi-app --t1=yolov3 --t2=refinedet --t3=facedetect --t4=ssd
         # Change ai task for each channel
smart-mipi-app -m 2
         # Change mipi camera device to /dev/media2.

Examples for single mipi camera:
smart-mipi-app -s
         # Run single channel mipi camera with 3840x2160 resolution monitor.
smart-mipi-app -s -W 1920 -H 1080
         # Change to 1920x1080 resolution monitor.
smart-mipi-app -s -t ssd
         # Change ai task from yolov3 to ssd
smart-mipi-app -s -m 2
         # Change mipi camera device to /dev/media2.

Help Options:
-h, --help                                Show help options
--help-all                                Show all help options
--help-gst                                Show GStreamer Options

Application Options:
-v, --verbose                             print gstreamer pipeline
-s, --single                              only process one channel video and display fullscreen
-W, --width=WIDTH                         resolution width of the input: [1920 | 3840], default: 3840
-H, --height=HEIGHT                       resolution height of the input: [1080 | 2160], default: 2160
-t, --task=TASK                           select AI task to be run: [yolov3 | facedetect | refinedet | ssd], default: yolov3, work only when single is true
--t1=TASK                                 select AI task to be run for channel 1, default: refinedet
--t2=TASK                                 select AI task to be run for channel 2, default: facedetect
--t3=TASK                                 select AI task to be run for channel 3, default: ssd
--t4=TASK                                 select AI task to be run for channel 4, default: yolov3
-m, --media-device=NUM                    num of media-device, default: 1
-n, --channel-num=NUM                     channel numbers of video: [1 | 2 | 3 | 4], work only when single is false
-x, --xclbin-location=XCLBIN-LOCATION     set path of xclbin
-c, --config-dir=CONFIG-DIR               set config path of gstreamer plugin
-p, --performace                          print performance