# ioutracker

This element can parse per-buffer object-detection meta and add tracking information.

It does an intersection-over-union, so it tracks if two detections share enough area to be likely to be the same thing.

Note: This is meant for simplest cases of object tracking and has known limitations. For complex cases, please choose other advance tracking.

[ gst-launch-1.0 filesrc location=bouncing.mp4 ! decodebin ! videoconvertscale add-borders=1 ! 'video/x-raw,pixel-aspect-ratio=1/1'
! onnxinference execution-provider=cpu model-file=./yolov8s.onnx
! yolotensordecoder class-confidence-threshold=0.5
! ioutracker iou-score-threshold=0.7
! videoconvert ! glimagesink ]|

## Hierarchy

    GObject
        ╰──GInitiallyUnowned
            ╰──GstObject
                ╰──GstElement
                    ╰──GstBaseTransform
                        ╰──ioutracker

## Factory details

Authors: – Santosh Mahto

Classification: – `Analyzer/Video`

Rank – primary

Plugin – tensordecoders

Package – GStreamer Bad Plug-ins

## Pad Templates

### `sink`

    video/x-raw:

Presence – always

Direction – sink

Object type – GstPad

### `src`

    video/x-raw:

Presence – always

Direction – src

Object type – GstPad

## Properties

### iou-score-threshold

    “iou-score-threshold” gfloat

The score below which object is considered as different object.

Flags : Read / Write

Default value : 0.5

### min-frame-count-for-lost-track

    “min-frame-count-for-lost-track” guint

Min number of frame where object is not seen, required to mark object as lost.

Flags : Read / Write

Default value : 5

The results of the search are