Note
The following JSON examples are only samples. Ensure
model-pathis set to point to your available model before running.Ensure
label-file-pathin the YOLOv5n JSON points to the correct label file for your model.
gst-launch-1.0 \
filesrc location=<INPUT>.bgr ! \
rawvideoparse format=bgr height=<INPUT_HEIGHT> width=<INPUT_WIDTH> ! \
vvas_xinfer config-file=/etc/vvas/configs/infer/yolov5n_vart.json ! \
vvas_xinfer config-file=/etc/vvas/configs/infer/resnet50_l2.json ! \
vvas_xmetaconvert config-location=/etc/vvas/configs/metaconvert/metaconvert_config.json ! \
vvas_xoverlay ! \
fpsdisplaysink sync=false text-overlay=false video-sink='filesink location=./output_yolo_r50_640x640.bgr' -v