Skip to main content

Tracker

An object tracker can be placed anywhere in the models list using type: "tracker". Its position determines where tracking occurs in the inference chain (e.g., between a detector and a classifier).

Option A — Use a built-in tracker type

- type: "tracker"
tracker_type: "NvSORT"

Option B — Use a custom tracker config file

- type: "tracker"
config_path: "/path/to/custom_tracker.yml"

Tracker fields

FieldTypeRequiredDefaultDescription
tracker_typestringIf no config_pathBuilt-in tracker type
config_pathstringIf no tracker_typeCustom tracker config file (overrides tracker_type)
tracker-widthintegerNo960Internal tracker processing width
tracker-heightintegerNo544Internal tracker processing height

Built-in tracker types

TypeDescription
IOUIntersection-Over-Union tracker. Fast and lightweight.
NvSORTNVIDIA SORT tracker. Good balance of speed and accuracy.
NvDCFDiscriminative Correlation Filter. Most accurate, higher GPU usage.
caution

Only one tracker is allowed per pipeline.