Object Detection
Object detection predicts both object categories and object locations. The output is usually a set of labeled bounding boxes:
where is a class, is a bounding box, and is a confidence score.
Box Representation
A box can be represented by corners:
or by center, width, and height:
Intersection-over-union compares predicted and ground-truth boxes:
Matching Problem
Detection is a set prediction task. Predictions must be matched to ground-truth objects before scoring:
where is an IoU threshold. A prediction can be wrong because the class is wrong, the box is poorly localized, the confidence score is badly calibrated, or the object is duplicated or missed.
Training Target
Many detectors combine classification and localization losses:
where may represent objectness or foreground/background confidence depending on the detector family.
Evaluation Boundary
Average precision evaluates ranked detections:
where is precision as a function of recall. AP depends on confidence scores, matching threshold, class imbalance, and duplicate suppression. Report the IoU threshold or threshold range.
Checks
- Are labels object-level, image-level, or weakly supervised?
- Does the dataset contain small objects, occlusion, dense objects, or class imbalance?
- What IoU threshold defines a correct detection?
- Are augmented boxes transformed correctly with the image?
- Does non-maximum suppression remove true neighboring objects?
- Are confidence scores calibrated enough for the downstream threshold?
- Are duplicate detections, missed objects, and localization errors separated in error analysis?
- Is evaluation per class, macro-averaged, micro-averaged, or weighted by frequency?