tensordecodebin2
This element instantiates a tensor decoder compatible with upstream caps.
Example launch command:
gst-launch-1.0 filesrc location=/onnx-models/images/bus.jpg \
! jpegdec ! videoconvert ! onnxinference execution-provider=cpu \
model-file=/onnx-models/models/ssd_mobilenet_v1_coco.onnx \
! tensordecodebin2 ! objectdetectionoverlay ! videoconvert ! imagefreeze \
! autovideosink
Assuming the model is an object detection model this pipeline will instantiate a tensor decoder compatible with the upstream tensor caps.
Hierarchy
GObject ╰──GInitiallyUnowned ╰──GstObject ╰──GstElement ╰──GstBin ╰──tensordecodebin2
Implemented interfaces
Factory details
Authors: – Daniel Morin
Classification: – Tensordecoder/Bin
Rank – none
Plugin – rsanalytics
Package – gst-plugin-analytics
Pad Templates
The results of the search are