ssdobjectdetector
This element can parse per-buffer inference tensor meta data generated by an upstream inference element
Example launch command:
Test image file, model file (SSD) and label file can be found here : https://gitlab.collabora.com/gstreamer/onnx-models
GST_DEBUG=ssdobjectdetector:5
gst-launch-1.0 multifilesrc location=onnx-models/images/bus.jpg !
jpegdec ! videoconvert ! onnxinference execution-provider=cpu model-file=onnx-models/models/ssd_mobilenet_v1_coco.onnx !
ssdobjectdetector label-file=onnx-models/labels/COCO_classes.txt ! videoconvert ! autovideosink
Hierarchy
GObject ╰──GInitiallyUnowned ╰──GstObject ╰──GstElement ╰──GstBaseTransform ╰──ssdobjectdetector
Factory details
Authors: – Aaron Boxer
Classification: – TensorDecoder/Video
Rank – primary
Plugin – tensordecoders
Package – GStreamer Bad Plug-ins
Pad Templates
Properties
label-file
“label-file” gchararray
Label file
Flags : Read / Write
Default value : NULL
Since : 1.24
score-threshold
“score-threshold” gfloat
Threshold for deciding when to remove boxes based on score
Flags : Read / Write
Default value : 0.3
Since : 1.24
size-threshold
“size-threshold” gfloat
Threshold for deciding when to remove boxes based on proportion of the image
Flags : Read / Write
Default value : 0.9
Since : 1.26
The results of the search are