Expand description
Multi-object tracking, detection smoothing, and trajectory history.
Combines Kalman / association tracking with exponential smoothers and fixed-capacity trajectory buffers.
Re-exports§
pub use smooth::DetectionSmoother;pub use smooth::SmoothConfig;pub use smooth::SmoothError;pub use smooth::TrajectoryHistory;pub use smooth::TrajectorySample;pub use smooth::interpolate_bbox;
Modules§
- smooth
- Detection smoothing and trajectory history.
Structs§
- Assign
Result - Sizes of the assignment outputs.
- Assign
Scratch - Scratch buffers required by
greedy_iou_assign. - Baseline
MotMetrics - Aggregate baseline MOT metrics over a sequence.
- Byte
Track Config - Runtime parameters for
crate::ByteTracker. - Byte
Tracker ByteTrackmulti-object tracker with stable IDs.- Kalman
State - Eight-dimensional Kalman state: center, aspect, height, and velocities.
- Match
Candidate - A candidate pair for assignment with an intersection-over-union score.
- MotChallenge
Row - One
MOTChallengedetection / GT row. - MotFrame
- One frame of GT and hypotheses.
- MotObject
- One ground-truth or hypothesis box in a frame.
- MotScenario
Result - One scenario result.
- MotSuite
Report - Full suite report (synthetic only).
- Multi
Source Checkpoint - Checkpoint payload for multi-source tracking.
- Multi
Source Tracker - Multi-source tracker: one independent motion model per
SourceId. - Source
Tracker Checkpoint - One source tracker inside a multi-source checkpoint.
- Track
- One tracked object with Kalman state and metadata.
- Track
Eval Summary - Host-attached TrackEval (or similar) summary numbers — not computed in-tree.
- Tracked
Detection - One detection result annotated with multi-source identity keys.
- Tracker
Snapshot - Serializable snapshot of a single-source tracker runtime.
- UidMap
Entry - One uid map row.
Enums§
- MotParse
Error - Parse failure for MOTChallenge / TrackEval text.
- MotScenario
Id - Named synthetic scenario.
- Track
Error - An error produced by tracking operations.
- Track
State - Lifecycle state of a track.
Functions§
- evaluate_
baseline_ mot - Evaluates baseline CLEAR metrics with greedy
IoUmatching per frame. - evaluate_
mot_ challenge_ pair - Parses GT + hyp
MOTChallengetext and runs baseline CLEAR metrics. - format_
mot_ challenge_ line MOTChallengeDET/GT line format helper (one sequence).- greedy_
iou_ assign - Greedy deterministic assignment sorted by descending score, then track index, then detection index. Each track and detection is used at most once.
- mot_
challenge_ to_ frames - Groups GT and hypothesis rows into per-frame
MotFrames (union of frame ids). - mot_
from_ track - Helper: wraps a track id + rect as a MOT object.
- parse_
mot_ challenge_ line - Parses a single
MOTChallengeline. - parse_
mot_ challenge_ text - Parses
MOTChallengemulti-line text into rows (skips blank /#comments). - parse_
track_ eval_ summary - Parses a compact host summary:
- run_
mot_ smoke_ suite - Runs the default synthetic suite with the given tracker config.
- run_
synthetic_ crossing - Crossing walk: two boxes swap horizontal lanes mid-sequence.
- run_
synthetic_ occlusion_ gap - Single box disappears for
gapframes then returns (same GT id). - run_
synthetic_ parallel_ walk - Runs a two-object parallel walk through
ByteTrackerand scores CLEAR metrics. - run_
synthetic_ triple_ lane - Three parallel non-overlapping lanes.
- write_
mot_ challenge_ rows - Serializes rows back to
MOTChallengetext (sorted by frame, then id). - write_
mot_ challenge_ sequence - Builds
MOTChallengetext for GT or hypothesis tracks fromMotFrames.