GStreamer Example pipelines for Image inferences

From RidgeRun Developer Wiki






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