This Python project implements precision-recall, average precision, and PASCAL VOC-style metrics for bounding-box detectors. It compares results against official challenge implementations without forcing custom file formats.
Overview
Object detection research often repeats metric code that diverges subtly from competition reference implementations. This library gathers common evaluation routines so researchers can benchmark detectors on arbitrary datasets with the same math used in PASCAL VOC and related benchmarks.
Inputs are simplified bounding-box lists for ground truth and detections rather than mandatory XML or JSON conversions. Functions build precision-recall curves, compute AP with 11-point or full interpolation, and explain IOU-based true and false positive rules.
The authors compare outputs directly to official MATLAB and TensorFlow reference tools and report matching results. Documentation walks through toy examples showing how confidence ordering affects AP and how multiple detections on one object are handled.
A newer successor project adds COCO metrics and a UI, but this toolkit remains the classic PASCAL-focused option cited in accompanying papers.
Key features
- PASCAL VOC AP implementations
- Precision-recall curve plotting
- 11-point and full interpolation
- IOU-based TP and FP rules
- Simple bbox list inputs
- Documented comparison to official tools
Use cases
- Benchmarking custom object detectors
- Teaching detection metric definitions
- Cross-dataset evaluation without VOC XML