# classifiertensordecoder

threshold: Class confidence threshold labels_file: Path where to read class labels class_quark: Class labels quark representation postproc_result: Buffer for post-processing (softmax, uint8->float conversion) class_count: Class count do_softmax: Whether softmax needs to be applied (determined by negotiated caps)

## Hierarchy

    GObject
        ╰──GInitiallyUnowned
            ╰──GstObject
                ╰──GstElement
                    ╰──GstBaseTransform
                        ╰──classifiertensordecoder

## Factory details

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

Classification: – `Tensordecoder`

Rank – secondary

Plugin – tensordecoders

Package – GStreamer Bad Plug-ins

## Pad Templates

### `sink`

    video/x-raw:
            tensors: "tensorgroups\,\ classification-generic-out\=\(/uniquelist\)\{\ \(caps\)\"tensor/strided\\\,\\\ tensor-id\\\=\\\(string\\\)classification-generic-out\\\,\\\ dims\\\=\\\(int\\\)\\\<\\\ \\\[\\\ 0\\\,\\\ 1\\\ \\\]\\\,\\\ \\\[\\\ 1\\\,\\\ 2147483647\\\ \\\]\\\ \\\>\\\,\\\ dims-order\\\=\\\(string\\\)row-major\\\,\\\ type\\\=\\\(string\\\)\\\{\\\ float32\\\,\\\ uint8\\\ \\\}\\\;\\\ tensor/strided\\\,\\\ tensor-id\\\=\\\(string\\\)classification-generic-out\\\,\\\ dims\\\=\\\(int\\\)\\\<\\\ \\\[\\\ 1\\\,\\\ 2147483647\\\ \\\]\\\ \\\>\\\,\\\ dims-order\\\=\\\(string\\\)row-major\\\,\\\ type\\\=\\\(string\\\)\\\{\\\ float32\\\,\\\ uint8\\\ \\\}\"\ \}\;"
    video/x-raw:
            tensors: "tensorgroups\,\ classification-generic-softmaxed-out\=\(/uniquelist\)\{\ \(caps\)\"tensor/strided\\\,\\\ tensor-id\\\=\\\(string\\\)classification-generic-softmaxed-out\\\,\\\ dims\\\=\\\(int\\\)\\\<\\\ \\\[\\\ 0\\\,\\\ 1\\\ \\\]\\\,\\\ \\\[\\\ 1\\\,\\\ 2147483647\\\ \\\]\\\ \\\>\\\,\\\ dims-order\\\=\\\(string\\\)row-major\\\,\\\ type\\\=\\\(string\\\)\\\{\\\ float32\\\,\\\ uint8\\\ \\\}\\\;\\\ tensor/strided\\\,\\\ tensor-id\\\=\\\(string\\\)classification-generic-softmaxed-out\\\,\\\ dims\\\=\\\(int\\\)\\\<\\\ \\\[\\\ 1\\\,\\\ 2147483647\\\ \\\]\\\ \\\>\\\,\\\ dims-order\\\=\\\(string\\\)row-major\\\,\\\ type\\\=\\\(string\\\)\\\{\\\ float32\\\,\\\ uint8\\\ \\\}\"\ \}\;"

Presence – always

Direction – sink

Object type – GstPad

### `src`

    ANY

Presence – always

Direction – src

Object type – GstPad

## Properties

### class-confidence-threshold

    “class-confidence-threshold” gfloat

Classes with a confidence level inferior to this threshold will be excluded

Flags : Read / Write

Default value : 0.7

### labels-file

    “labels-file” gchararray

Path to a file containing class label. COCO format

Flags : Read / Write

Default value : NULL

The results of the search are