Skip to content
Back to skills

Supervision

ASecurity

"Route Supervision computer-vision package workflows for

  • 247 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 9, 2026
datapythongobashapibackend

Works with

  • api

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro scans all 20 files and shows the line behind each finding

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill supervision --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Supervision?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Supervision
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-supervision/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-supervision)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: supervision
description: "Route Supervision computer-vision package workflows for
  detections, annotators, datasets, tracking, metrics, and media utilities."
disable-model-invocation: true
metadata:
  disco-role: operating
license: MIT
---

# Supervision

Use this repo skill when a task uses the `supervision` Python package as a
computer-vision utility layer: normalized detections, visual annotation, dataset
conversion, tracking/keypoints, evaluation metrics, image/video helpers, zones,
sinks, slicers, and optional OpenCV backend behavior.

## Install and minimal check

```bash
pip install supervision
python -c "import supervision as sv; print(sv.__version__)"
```

Add extras only for workflows that need them:

```bash
pip install "supervision[metrics]"   # pandas-backed metric tables and evaluation
pip install "supervision[geotiff]"   # rasterio/windowed GeoTIFF slicing
```

Native OpenCV is optional. Use Supervision's fallback backend by default; install
exactly one OpenCV wheel only when the application needs native OpenCV behavior,
GUI windows, webcam capture, or broader codec compatibility.

Run the bundled [check_supervision_install.py](scripts/check_supervision_install.py)
helper when the environment is unknown.

## Start here

- Read [overview](references/overview.md) for the package map, core concepts,
  optional extras, and deprecation summary.
- Read [troubleshooting](references/troubleshooting.md) for cross-cutting
  install/import/backend/deprecation failures.
- Read [repo provenance](references/repo-provenance.md) before deciding whether
  this skill matches a different checkout or package version.

## Route by task

| User intent or signals | Sub-skill |
| --- | --- |
| `Detections`, model adapters, VLM parsing, compact masks, filtering, NMS/NMM, zones, tiled inference, smoothing, CSV/JSON sinks | [detection-and-zones](sub-skills/detection-and-zones/SKILL.md) |
| Drawing boxes, masks, labels, traces, heatmaps, zones, comparison panels, and other high-level `scene` + detections/keypoints visualization | [annotators](sub-skills/annotators/SKILL.md) |
| YOLO/COCO/Pascal VOC/LabelMe/CreateML dataset loading/export, dataset splitting/merging, classification folder datasets | [datasets](sub-skills/datasets/SKILL.md) |
| `KeyPoints`, keypoint adapters/annotators, keypoint-to-detection conversion, tracker IDs, ByteTrack compatibility/migration, line crossing with identity | [tracking-keypoints](sub-skills/tracking-keypoints/SKILL.md) |
| mAP, mAR, precision, recall, F1, confusion matrices, `MetricTarget`, `AveragingMethod`, dataset-backed evaluation | [metrics](sub-skills/metrics/SKILL.md) |
| Image/video/file helpers, primitive drawing, colors, geometry, notebook display, assets, OpenCV fallback/native backend, GUI/windows, codecs | [media-utils](sub-skills/media-utils/SKILL.md) |

## Operating principles

1. Treat `sv.Detections` as the shared object between model adapters, filters,
   zones, trackers, annotators, datasets, sinks, slicers, and metrics.
2. Keep aligned arrays aligned. Filter the container object, not individual
   `xyxy`, `confidence`, `class_id`, `mask`, `tracker_id`, or `data` arrays.
3. Import metadata keys from `supervision.config` when writing reusable code:
   `CLASS_NAME_DATA_FIELD`, `ORIENTED_BOX_COORDINATES`, and `AREA_DATA_FIELD`.
4. Keep heavy optional model/framework imports lazy and model-specific.
   Supervision adapters convert already-produced results; they do not download
   models or install external frameworks.
5. Use `scene.copy()` before annotation when the original image or frame must be
   preserved. Annotators draw on the provided scene and return it.
6. Prefer current APIs: `supervision.key_points`/`sv.KeyPoints`,
   `keypoint_confidence`, `sv.VLM`, and `Detections.from_vlm`. Treat
   `supervision.keypoint`, `KeyPoints.confidence`, `sv.ByteTrack`, `sv.LMM`, and
   `from_lmm` as compatibility or migration topics.
7. Do not rely on original repository docs, examples, tests, notebooks, scripts,
   or local checkout files as runtime dependencies. The necessary operating
   guidance is distilled into this skill tree.

## Common route combinations

- **Annotate model output:** use `detection-and-zones` to normalize raw results
  into `Detections`, then `annotators` to draw on images or video frames.
- **Evaluate a dataset:** use `datasets` to load/convert annotations,
  `detection-and-zones` to normalize predictions, and `metrics` to compute and
  interpret scores.
- **Count objects in video zones:** use `media-utils` for video frames,
  `detection-and-zones` for `PolygonZone`/`LineZone`, `tracking-keypoints` when
  stable `tracker_id` is needed, and `annotators` for overlays.
- **Debug backend/image/video issues:** use `media-utils` first, then return to
  the workflow sub-skill that owns the higher-level operation.

Files in this skill

  • SKILL.md4.7 KB
  • references/overview.md5.6 KB
  • references/repo-provenance.md2.5 KB
  • references/repo-routing-metadata.json487 B
  • references/troubleshooting.md5.6 KB
  • scripts/check_supervision_install.py6.9 KB
  • sub-skills/annotators/SKILL.md3.1 KB
  • sub-skills/annotators/references/annotator-catalog.md6.6 KB
  • sub-skills/annotators/references/troubleshooting.md9.4 KB
  • sub-skills/annotators/references/workflows.md7.8 KB
  • sub-skills/datasets/SKILL.md3.1 KB
  • sub-skills/datasets/references/data-formats.md11.2 KB
  • sub-skills/datasets/references/troubleshooting.md11.5 KB
  • sub-skills/datasets/references/workflows.md10.8 KB
  • sub-skills/detection-and-zones/SKILL.md3.9 KB
  • sub-skills/detection-and-zones/references/api-reference.md16.8 KB
  • sub-skills/detection-and-zones/references/troubleshooting.md12.5 KB
  • sub-skills/detection-and-zones/references/workflows.md12.9 KB
  • sub-skills/media-utils/SKILL.md4.2 KB
  • sub-skills/media-utils/references/backend-compatibility.md3.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.