ConfidenceCascadeTracking

Match confident detections first, consult appearance only on ties, and let weak detections fill gaps, to keep identities unbroken

Mind · Inference · brainference 1.0.0

Mechanism

Multi-object tracking for interaction analysis, where every lost or swapped identity breaks a chain in a SecondOrderInteractionNetwork. Each track holds a Kalman state (x, y, s, r, dx, dy, ds): box centre, area, aspect ratio and velocities, with a constant-velocity model, large initial velocity uncertainty (1e4) and small process noise. Each frame: (1) match high-confidence detections (score > 0.7) to all active tracks by IoU distance 1 - IoU with the Hungarian algorithm; (2) when best and second-best IoU candidates are too close, use a re-identification network (ResNet-50 fine-tuned with triplet loss, cosine distance on embeddings) as a tie-breaker; (3) match remaining low-confidence detections (0.1-0.7) only to tracks still unassigned, rejecting matches above a distance threshold; treat scores below 0.1 as background. Unmatched tracks keep their last position (no Kalman drift) and are deleted after 60 frames (1 s), which bridges brief occlusions. Export per-frame centroids and keypoints per track.

Invariants

Failure modes

Where this came from

Builds on

Identity