Supervision from Roboflow supplies Python utilities to load data, annotate images and video, track objects, and evaluate models across popular detection libraries.
Overview
Supervision is a model-agnostic Python library for building computer vision applications around classification, detection, and segmentation outputs. It offers a unified Detections object with converters for many inference stacks, including Ultralytics, Transformers, MMDetection, and Roboflow Inference, so you can swap models without rewriting visualization code.
Annotators draw bounding boxes, masks, and labels on images or video frames. Tracking helpers assign persistent IDs across frames, polygon zones let you count or filter objects in regions, and dataset utilities load, split, merge, and convert formats such as YOLO, COCO, and Pascal VOC. Metrics helpers support benchmarking with mAP and confusion matrices.
You install the package with pip into a Python 3.10 or newer environment. Connectors and optional dependencies extend support for specific model families when you need them.
Key features
- Unified Detections object
- Model connector adapters
- Customizable image annotators
- Multi-object video tracking
- Polygon zone counting and filters
- Dataset load split and convert
- mAP and confusion matrix metrics
- Works with major CV model stacks
Use cases
- Object detection visualization
- Retail wait-time zone counting
- Vehicle tracking and speed estimation
- Converting training dataset formats
- Evaluating detector accuracy