Metrics explained

Testing follows the YOLO (Ultralytics) validation method, so its numbers match yolo val on the same data.

TermMeaning
IoUOverlap of two boxes: intersection ÷ union. 1 = identical, 0 = no overlap.
PrecisionOf the boxes the model drew, the share that are correct. Low precision = false alarms.
RecallOf the real objects, the share the model found. Low recall = misses.
F1The balance of precision and recall (harmonic mean). Its best value picks the best confidence threshold.
APArea under the precision–recall curve of one class: how good the model is across all thresholds.
mAP50AP averaged over classes, counting a detection as correct at IoU ≥ 0.5.
mAP50-95The same, averaged over IoU 0.50 … 0.95 — also rewards precise boxes. The main ranking number.
Operating thresholdThe confidence at which counts, error types, confusion matrices and galleries are computed (best F1 per model, or the value you choose).

Error types

ErrorMeaningUsually fixed by
Wrong classRight place, wrong labelMore examples of the confused classes
Poor localisationRight object, box too loose or tight (IoU 0.1–0.5)Consistent box labelling; larger image size
DuplicateA second box on an object already foundNMS settings
BackgroundA box where there is nothingHard negatives in training
MissedA real object with no boxMore (and harder) examples
Missed (found below threshold)The model saw it, but with low confidenceA lower threshold, or more training

Confusion matrix

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.

Recall by object size

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.

Video behaviour (no labels)

FlickerA tracked object disappears for one or two samples and comes back — likely missed detections.
BlipAn object that exists for at most two samples — likely false detections.
StabilityShare of detections involved in neither.
AgreementF1 between two models' boxes on the same frame (1.0 = they found the same objects).
Small classes — with fewer than about 30 objects, a class's numbers can swing a lot from a few images. The verdict warns you.