trackforge / utils / detections
Module detections
Conversion helpers that turn detector output into tracker input.
Quick Reference
| Item | Kind | Description |
|---|---|---|
detections_from_xyxy |
fn | Convert flat [x1, y1, x2, y2, conf, cls] detector output into tracker detections. |
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.