Track<T>

Models & Types · AiDotNet.ComputerVision.Tracking

Represents a tracked object across frames.

Constructors

Constructor Summary
Track(int trackId, BoundingBox<T> box, int classId, T confidence) Creates a new track.

Properties

Property Summary
BoundingBox<T> Box { get; set; } Current bounding box.
T Confidence { get; set; } Current confidence score.
T VelocityX { get; set; } Velocity in x direction (pixels/frame).
T VelocityY { get; set; } Velocity in y direction (pixels/frame).
Tensor<T> AppearanceFeature { get; set; } Optional appearance feature embedding.
TrackState State { get; set; } Track state (tentative, confirmed, deleted).
int Age { get; set; } Total number of frames this track has been active.
int ClassId { get; set; } Class ID of the tracked object.
int Hits { get; set; } Number of frames with detection hits.
int TimeSinceUpdate { get; set; } Number of consecutive frames without detection.
int TrackId { get; set; } Unique track identifier.