Module utils
Utility functions for geometry and Kalman filtering.
This module provides common mathematical and geometric tools used by the trackers.
Quick Reference
| Item | Kind | Description |
|---|---|---|
assignment |
mod | Greedy linear assignment shared by the trackers. |
detections |
mod | Conversion helpers that turn detector output into tracker input. |
features |
mod | Appearance-feature helpers shared by the Re-ID trackers. |
geometry |
mod | |
kalman |
mod |
Modules
assignment— Greedy linear assignment shared by the trackers.detections— Conversion helpers that turn detector output into tracker input.features— Appearance-feature helpers shared by the Re-ID trackers.geometrykalman
Functions
detections_from_xyxy
Convert flat [x1, y1, x2, y2, conf, cls] detector output into tracker detections.
This is the layout most YOLO-style detectors produce after NMS, including the
data array of Ultralytics Boxes. Each group of six values becomes a
(tlwh, score, class_id) tuple, the input every tracker's update takes. Trailing
values that do not form a full group of six are ignored.