Testing follows the YOLO (Ultralytics) validation method, so its numbers match yolo val on the same data.
| Term | Meaning |
|---|---|
| IoU | Overlap of two boxes: intersection ÷ union. 1 = identical, 0 = no overlap. |
| Precision | Of the boxes the model drew, the share that are correct. Low precision = false alarms. |
| Recall | Of the real objects, the share the model found. Low recall = misses. |
| F1 | The balance of precision and recall (harmonic mean). Its best value picks the best confidence threshold. |
| AP | Area under the precision–recall curve of one class: how good the model is across all thresholds. |
| mAP50 | AP averaged over classes, counting a detection as correct at IoU ≥ 0.5. |
| mAP50-95 | The same, averaged over IoU 0.50 … 0.95 — also rewards precise boxes. The main ranking number. |
| Operating threshold | The confidence at which counts, error types, confusion matrices and galleries are computed (best F1 per model, or the value you choose). |
| Error | Meaning | Usually fixed by |
|---|---|---|
| Wrong class | Right place, wrong label | More examples of the confused classes |
| Poor localisation | Right object, box too loose or tight (IoU 0.1–0.5) | Consistent box labelling; larger image size |
| Duplicate | A second box on an object already found | NMS settings |
| Background | A box where there is nothing | Hard negatives in training |
| Missed | A real object with no box | More (and harder) examples |
| Missed (found below threshold) | The model saw it, but with low confidence | A lower threshold, or more training |
Rows are what is really there, columns what the model said, colour is the share of the row. The diagonal is correct; the background row holds false detections and the background column missed objects. Computed at the operating threshold with IoU > 0.45, like YOLO.
COCO sizes: small < 32×32 px, medium < 96×96 px, large above. Weak small-object recall often improves with a larger image size or SAHI.
| Flicker | A tracked object disappears for one or two samples and comes back — likely missed detections. |
| Blip | An object that exists for at most two samples — likely false detections. |
| Stability | Share of detections involved in neither. |
| Agreement | F1 between two models' boxes on the same frame (1.0 = they found the same objects). |