Struct ObjectTrackerProperties

Inheritance Relationships

Base Type

Struct Documentation

struct ObjectTrackerProperties : public dai::PropertiesSerializable<Properties, ObjectTrackerProperties>

Specify properties for ObjectTracker

Public Functions

~ObjectTrackerProperties() override

Public Members

float trackerThreshold = 0.0

Confidence threshold for tracklets. Above this threshold detections will be tracked. Default 0, all detections are tracked.

std::int32_t maxObjectsToTrack = 60

Maximum number of objects to track. Maximum 60 for SHORT_TERM_KCF, maximum 1000 for other tracking methods. Default 60.

std::vector<std::uint32_t> detectionLabelsToTrack

Which detections labels to track. Default all labels are tracked.

TrackerType trackerType = TrackerType::SHORT_TERM_IMAGELESS

Tracking method.

TrackerIdAssignmentPolicy trackerIdAssignmentPolicy = TrackerIdAssignmentPolicy::UNIQUE_ID

New ID assignment policy.

bool trackingPerClass = true

Whether tracker should take into consideration class label for tracking.

float occlusionRatioThreshold = 0.2f

Occlusion ratio threshold. Used to filter out overlapping tracklets.

uint32_t trackletMaxLifespan = 120

Tracklet lifespan in number of frames. Number of frames after which a LOST tracklet is removed.

uint32_t trackletBirthThreshold = 3

Tracklet birth threshold. Minimum consecutive tracked frames required to consider a tracklet as a new instance.