# tensordecodebin

This element instantiate 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
      ! tensordecodebin ! objectdetectionoverlay ! videoconvert ! imagefreeze
      ! autovideosink

Assuming the model is a object detection model this pipeline will instantiate a tensor decoder compatible upstream tensor caps.

## Hierarchy

    GObject
        ╰──GInitiallyUnowned
            ╰──GstObject
                ╰──GstElement
                    ╰──GstBin
                        ╰──tensordecodebin

## Implemented interfaces

    GstChildProxy

## Factory details

Authors: – Daniel Morin <daniel.morin></daniel.morin>

Classification: – `Tensor Decoder Bin`

Rank – none

Plugin – tensordecoders

Package – GStreamer Bad Plug-ins

## Pad Templates

### `sink`

    ANY

Presence – always

Direction – sink

Object type – GstPad

### `src`

    ANY

Presence – always

Direction – src

Object type – GstPad

The results of the search are