Getting started with AI on NXP i.MX8M Plus - GStreamer - Example pipelines - Image inferences

From RidgeRun Developer Connection
Jump to: navigation, search




NXP Partner Program Registered Vertical.jpg NXP Partner Program Horizontal.jpg
Previous: GStreamer/Example pipelines/Video inferences Index Next: GStreamer/Example pipelines/Video streaming



TinyYOLOv3


IMAGE_FILE='cow2.jpg'
MODEL_LOCATION='car_plate_tinyYolo_model2.tflite'
LABELS_LOCATION='labels.txt'

GST_DEBUG="tinyyolov3:LOG,*inf*:DEBUG" gst-launch-1.0 multifilesrc location=$IMAGE_FILE start-index=0 stop-index=0 loop=true  ! jpegparse ! jpegdec ! videoconvert ! videoscale ! videorate ! queue ! net.sink_model tinyyolov3 name=net number-of-classes=1 model-location=$MODEL_LOCATION backend=nnapi labels="$(cat $LABELS_LOCATION)"


Previous: GStreamer/Example pipelines/Video inferences Index Next: GStreamer/Example pipelines/Video streaming