SIGN IN SIGN UP
roboflow / supervision UNCLAIMED

We write your reusable computer vision tools. ๐Ÿ’œ

36789 0 0 Python
2024-01-17 12:11:31 +01:00
---
template: index.html
2024-01-17 12:11:31 +01:00
comments: true
hide:
- navigation
- toc
2024-01-17 12:11:31 +01:00
---
<div class="md-typeset">
<h1></h1>
</div>
2025-06-17 09:34:23 -04:00
<div align="center" id="logo" style="padding-top: 1rem;">
<a align="center" href="" target="_blank">
<img width="850"
src="https://media.roboflow.com/open-source/supervision/rf-supervision-banner.png?updatedAt=1678995927529">
</a>
</div>
2025-06-17 09:34:23 -04:00
<style>
#hello {
margin: 0;
}
</style>
2023-07-21 23:11:03 +02:00
## ๐Ÿ‘‹ 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!
2024-01-24 17:47:11 +01:00
<video controls>
<source
src="https://media.roboflow.com/traffic_analysis_result.mp4"
type="video/mp4"
>
</video>
2023-07-21 23:11:03 +02:00
## ๐Ÿ’ป Install
You can install `supervision` in a
[**Python>=3.9**](https://www.python.org/) environment.
!!! example "Installation"
=== "pip (recommended)"
[![version](https://badge.fury.io/py/supervision.svg)](https://badge.fury.io/py/supervision)
[![downloads](https://img.shields.io/pypi/dm/supervision)](https://pypistats.org/packages/supervision)
[![license](https://img.shields.io/pypi/l/supervision)](../LICENSE.md)
[![python-version](https://img.shields.io/pypi/pyversions/supervision)](https://badge.fury.io/py/supervision)
2024-03-28 18:53:39 +01:00
```bash
pip install supervision
2024-03-28 18:53:39 +01:00
```
2023-07-21 23:11:03 +02:00
=== "poetry"
[![version](https://badge.fury.io/py/supervision.svg)](https://badge.fury.io/py/supervision)
[![downloads](https://img.shields.io/pypi/dm/supervision)](https://pypistats.org/packages/supervision)
[![license](https://img.shields.io/pypi/l/supervision)](../LICENSE.md)
[![python-version](https://img.shields.io/pypi/pyversions/supervision)](https://badge.fury.io/py/supervision)
```bash
poetry add supervision
```
=== "uv"
[![version](https://badge.fury.io/py/supervision.svg)](https://badge.fury.io/py/supervision)
[![downloads](https://img.shields.io/pypi/dm/supervision)](https://pypistats.org/packages/supervision)
[![license](https://img.shields.io/pypi/l/supervision)](../LICENSE.md)
[![python-version](https://img.shields.io/pypi/pyversions/supervision)](https://badge.fury.io/py/supervision)
```bash
uv pip install supervision
```
For uv projects:
```bash
uv add supervision
```
=== "rye"
[![version](https://badge.fury.io/py/supervision.svg)](https://badge.fury.io/py/supervision)
[![downloads](https://img.shields.io/pypi/dm/supervision)](https://pypistats.org/packages/supervision)
[![license](https://img.shields.io/pypi/l/supervision)](../LICENSE.md)
[![python-version](https://img.shields.io/pypi/pyversions/supervision)](https://badge.fury.io/py/supervision)
```bash
rye add supervision
```
2024-03-28 18:53:39 +01:00
!!! example "conda/mamba install"
2024-03-28 18:53:39 +01:00
=== "conda"
2024-03-28 18:53:39 +01:00
[![conda-recipe](https://img.shields.io/badge/recipe-supervision-green.svg)](https://anaconda.org/conda-forge/supervision) [![conda-downloads](https://img.shields.io/conda/dn/conda-forge/supervision.svg)](https://anaconda.org/conda-forge/supervision) [![conda-version](https://img.shields.io/conda/vn/conda-forge/supervision.svg)](https://anaconda.org/conda-forge/supervision) [![conda-platforms](https://img.shields.io/conda/pn/conda-forge/supervision.svg)](https://anaconda.org/conda-forge/supervision)
2024-03-28 18:53:39 +01:00
```bash
conda install -c conda-forge supervision
```
2024-03-28 18:53:39 +01:00
=== "mamba"
2024-03-28 18:53:39 +01:00
[![mamba-recipe](https://img.shields.io/badge/recipe-supervision-green.svg)](https://anaconda.org/conda-forge/supervision) [![mamba-downloads](https://img.shields.io/conda/dn/conda-forge/supervision.svg)](https://anaconda.org/conda-forge/supervision) [![mamba-version](https://img.shields.io/conda/vn/conda-forge/supervision.svg)](https://anaconda.org/conda-forge/supervision) [![mamba-platforms](https://img.shields.io/conda/pn/conda-forge/supervision.svg)](https://anaconda.org/conda-forge/supervision)
2024-03-28 18:53:39 +01:00
```bash
mamba install -c conda-forge supervision
```
2024-03-28 18:53:39 +01:00
!!! example "git clone (for development)"
2024-03-28 18:53:39 +01:00
=== "virtualenv"
2024-03-28 18:53:39 +01:00
```bash
# clone repository and navigate to root directory
git clone --depth 1 -b develop https://github.com/roboflow/supervision.git
2024-03-28 18:53:39 +01:00
cd supervision
2024-03-28 18:53:39 +01:00
# setup python environment and activate it
python3 -m venv venv
source venv/bin/activate
pip install --upgrade pip
# installation
2024-03-28 18:53:39 +01:00
pip install -e "."
```
=== "uv"
2024-03-28 18:53:39 +01:00
```bash
# clone repository and navigate to root directory
git clone --depth 1 -b develop https://github.com/roboflow/supervision.git
2024-03-28 18:53:39 +01:00
cd supervision
2024-03-28 18:53:39 +01:00
# setup python environment and activate it
uv venv
source .venv/bin/activate
# installation
uv pip install -r pyproject.toml -e . --all-extras
2024-03-28 18:53:39 +01:00
```
## ๐Ÿš€ Quickstart
<div class="grid cards" markdown>
2024-09-20 14:50:46 +03:00
- **Detect and Annotate**
---
Annotate predictions from a range of object detection and segmentation models
[:octicons-arrow-right-24: Tutorial](how_to/detect_and_annotate.md)
2024-09-20 14:50:46 +03:00
- **Track Objects**
---
Discover how to enhance video analysis by implementing seamless object tracking
[:octicons-arrow-right-24: Tutorial](how_to/track_objects.md)
2024-09-20 14:50:46 +03:00
- **Detect Small Objects**
2024-03-25 21:11:47 +01:00
---
2024-03-25 21:11:47 +01:00
Learn how to detect small objects in images
2024-03-25 21:11:47 +01:00
[:octicons-arrow-right-24: Tutorial](how_to/detect_small_objects.md)
2024-03-25 21:11:47 +01:00
2024-09-20 14:50:46 +03:00
- **Count Objects Crossing Line**
---
Explore methods to accurately count and analyze objects crossing a predefined line
[:octicons-arrow-right-24: Notebook](https://supervision.roboflow.com/latest/notebooks/count-objects-crossing-the-line/)
2024-09-20 14:50:46 +03:00
- > **Filter Objects in Zone**
---
Master the techniques to selectively filter and focus on objects within a specific zone
2024-09-20 14:50:46 +03:00
- **Cheatsheet**
---
Access a quick reference guide to the most common `supervision` functions
[:octicons-arrow-right-24: Cheatsheet](https://roboflow.github.io/cheatsheet-supervision/)
</div>