What is Supervision?¶
Supervision is an open-source Python library by Roboflow for building computer vision applications. It provides a unified Detections object that works with YOLO, SAM, Grounding DINO, Transformers, and 20+ model frameworks — use any detector, get the same composable API.
With Supervision you can annotate images and video with bounding boxes, masks, and labels; track objects across frames with persistent IDs; count and filter detections inside polygon zones; load and convert datasets between YOLO, COCO, and Pascal VOC formats; and benchmark model performance with mAP and confusion matrices.
Trusted by researchers (cited in 4,000+ papers) and practitioners (38,000+ GitHub stars, 1M+ monthly PyPI downloads), Supervision is the standard toolkit for production computer vision workflows.
👋 Hello¶
We write your reusable computer vision tools. Whether you need to load your dataset from your hard drive, draw detections on an image or video, or count how many detections are in a zone. You can count on us!
💻 Install¶
You can install supervision in a
Python>=3.9 environment.
Installation
conda/mamba install
git clone (for development)
🚀 Quickstart¶
-
Detect and Annotate
Annotate predictions from a range of object detection and segmentation models
-
Track Objects
Discover how to enhance video analysis by implementing seamless object tracking
-
Detect Small Objects
Learn how to detect small objects in images
-
Count Objects Crossing Line
Explore methods to accurately count and analyze objects crossing a predefined line
-
Filter Objects in Zone
Master the techniques to selectively filter and focus on objects within a specific zone
-
Cheatsheet
Access a quick reference guide to the most common
supervisionfunctions