ObjectTrackerConfig
ObjectTrackerConfig stores the parameters that drive the ObjectTracker node. It lets you configure tracker types (zero-term / short-term), association thresholds, maximum number of simultaneously tracked objects, and ROI re-acquisition behavior when detections are temporarily lost.Set ObjectTracker.initialConfig to establish defaults and send live updates through inputTrackerConfig when you need to adapt the pipeline—for example, to increase the IOU threshold in crowded scenes or to switch from median-flow to kernelized correlation tracking. The node will apply the new configuration without requiring a pipeline rebuild.Reference
class
dai::ObjectTrackerConfig
variable
std::vector< int32_t > trackletIdsToRemove
function
ObjectTrackerConfig()function
~ObjectTrackerConfig()function
ObjectTrackerConfig & forceRemoveID(int32_t id)Force remove a tracklet with specified ID.
function
ObjectTrackerConfig & forceRemoveIDs(std::vector< int32_t > ids)Force remove tracklets with specified IDs.
function
void serialize(std::vector< std::uint8_t > & metadata, DatatypeEnum & datatype)function
DEPTHAI_SERIALIZE(ObjectTrackerConfig, Buffer::sequenceNum, Buffer::ts, Buffer::tsDevice, trackletIdsToRemove)Need assistance?
Head over to Discussion Forum for technical support or any other questions you might have.