Detection Quality Matters
Tracking quality starts at the detector. If it misses an object, the tracker never gets a chance. This guide isolates the effect of detector choice by running ByteTrack with three models of increasing accuracy on the MOT17 benchmark.
What you'll learn:
- Run the same tracker with different detection models
- Measure how detector choice impacts tracking metrics
- Compare YOLO26 Nano, RF-DETR Nano, and RF-DETR Medium on MOT17
Install
Install trackers with the detection extra to enable built-in model support.
For more options, see the install guide.
Detection Models
We pick three models that span a wide accuracy range on COCO, from a lightweight YOLO to a mid-size transformer detector. The gap in COCO accuracy between the weakest and strongest model is nearly 15 AP. The question is how much of that carries over to tracking.
![]()
Comparison of RF-DETR against other top real-time detectors on MS COCO.
| Model | COCO AP50 | COCO AP50:95 | Latency (ms) |
|---|---|---|---|
| YOLO26 Nano | 55.8 | 40.3 | 1.7 |
| RF-DETR Nano | 67.6 | 48.4 | 2.3 |
| RF-DETR Medium | 73.6 | 54.7 | 4.4 |
Download Data
Pull the MOT17 validation split. You need frames for detection and annotations for evaluation.
Run the Experiment
Run ByteTrack with default parameters three times, changing only the detection model each time.
YOLO26 Nano
ByteTrack with YOLO26 Nano on MOT17-13.
RF-DETR Nano
ByteTrack with RF-DETR Nano on MOT17-13.
RF-DETR Medium
ByteTrack with RF-DETR Medium on MOT17-13.
Evaluate
Evaluate each run against ground truth using CLEAR, HOTA, and Identity metrics.
YOLO26 Nano
trackers eval \
--gt-dir ./data/mot17/val \
--tracker-dir results/yolo26n \
--metrics CLEAR HOTA Identity \
--columns MOTA HOTA IDF1
Output:
RF-DETR Nano
trackers eval \
--gt-dir ./data/mot17/val \
--tracker-dir results/rfdetr-nano \
--metrics CLEAR HOTA Identity \
--columns MOTA HOTA IDF1
Output:
RF-DETR Medium
trackers eval \
--gt-dir ./data/mot17/val \
--tracker-dir results/rfdetr-medium \
--metrics CLEAR HOTA Identity \
--columns MOTA HOTA IDF1
Output:
Results
Same tracker, same data, same parameters. The only difference is the detector.
| Detector | MOTA | HOTA | IDF1 |
|---|---|---|---|
| YOLO26 Nano | 23.444 | 32.874 | 34.411 |
| RF-DETR Nano | 25.667 | 35.735 | 38.182 |
| RF-DETR Medium | 29.141 | 38.637 | 41.950 |
RF-DETR Medium leads across every metric, showing that a stronger detector directly lifts tracking quality.
Takeaway
Before tweaking tracker hyperparameters, invest in detection quality. The results above show that swapping the detector alone produces larger gains than most tracker-level optimizations.