Huashu Design
alchaincyf · Skill
Turns a one-line request in your AI agent into a finished design: a launch animation, a clickable app prototype, an editable slide deck, an infographic or a se…

Roboflow’s free, open source Python library for computer vision applications. It draws detections, counts objects in zones, converts datasets and scores models. The setup notes cover pip, conda, uv, a model and a tracker, datasets and benchmarks.
Supervision is an open-source project on GitHub in the Developer category, listed by Mindket. It is free. This is version 2, last updated on . Install it from GitHub as its README says. Get Mindket’s setup notes on your Mindket account, as a zip.
pip install opencv-python supervision pip install pillow rfdetr
Supervision is an open source Python library from Roboflow for building computer vision applications. It does not run a model. You pair it with one. RF-DETR’s predict method already returns Supervision’s Detections object, and for other models Supervision’s converters turn the output into that same object. From there you can draw boxes, masks and labels on images and video, filter detections and count them inside zones. It also loads and converts datasets between YOLO, COCO and Pascal VOC, and scores a model with mAP and confusion matrices. Tracking objects across frames takes a separate package, trackers.
Python developers and machine learning engineers who already have a detection or segmentation model and want the code around it. That means drawing results, counting in zones, converting datasets and scoring. Skip it if you need a model itself, because Supervision holds none.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Traffic and cities | Engineers who work with road video | Count vehicles inside zones and follow them from frame to frame | An engineer draws two zone polygons on the first frame of a traffic video and counts the cars inside each one, as the Count in Zone guide does. |
| Retail and operations | Analysts who study queues and wait times | Track people and measure the time they spend in a marked area | An analyst follows the dwell time tutorial to see how long customers wait in a zone. |
| Model training | Machine learning engineers who label and train | Load, split, merge and convert datasets between YOLO, COCO and Pascal VOC | An engineer loads a COCO dataset, splits it, and saves the parts as YOLO for training. |
| Model evaluation | Teams that compare detectors | Score predictions against labels with mAP, F1 and a confusion matrix | A team runs two models over one test set and compares their mAP results. |
| High resolution images | Developers who look for small objects | Cut a large image into tiles, detect in each one and merge the results | A developer wraps a model in InferenceSlicer so the small objects in a large photo are found. |
Inside your own Python code. PyPI lists Linux, macOS and Windows. The maker documents these routes, and the kit has a page for each.
The maker documents no steps for coding agents.
Get it saves a zip of Mindket’s setup notes in your downloads folder, with a page for each route above. The main route is pip, in a Python 3.10 or newer environment.
| Need | Detail |
|---|---|
| Python | 3.10 or newer. The README says a Python>=3.10 environment |
| A model | Supervision holds none. The README example uses RF-DETR, installed with pip install pillow rfdetr |
| OpenCV | Only if your code imports cv2 or reads a webcam. A standard install includes a fallback built on NumPy, Pillow, SciPy and PyAV |
| A Roboflow key or login | Only where an example says so: the Inference connector, and the Roboflow dataset download |
| The trackers package | Only for tracking objects across video frames: pip install trackers |
pip install opencv-python supervision pip install pillow rfdetr
Run a model, then hand its output to Supervision. The documentation home gives this example. It finds objects in one image and draws a box and a label on each one.
import cv2
import supervision as sv
from rfdetr import RFDETRMedium
model = RFDETRMedium()
image = cv2.imread("image.jpg")
detections = model.predict(image[:, :, ::-1])
box_annotator = sv.BoxAnnotator()
label_annotator = sv.LabelAnnotator()
annotated_image = box_annotator.annotate(scene=image, detections=detections)
annotated_image = label_annotator.annotate(scene=annotated_image, detections=detections)A model from another package returns its own kind of result, so you convert it first. Each converter is a class method on Detections, such as from_inference, from_ultralytics and from_transformers.
You run a model on one photo and want only the confident detections. The Filter Detections page keeps them with one line.
detections = detections[detections.confidence > 0.5]
The same page filters by class, area, box size and zone. Draw the filtered result with the two annotators above.
If you are new. A detection model looks at a picture and returns boxes, each with a class and a confidence. Supervision does not find anything itself. It is the code you write around the model: drawing, counting, saving and scoring. Start with one image and the example above. The Track Objects page downloads a sample video when you want to try video.
For experts. Every model connector ends in the same Detections object, so annotators and filters work the same whatever made the boxes. The process_video function runs a callback on every frame and writes a new video. LineZone counts crossings and needs tracker_id, so run a tracker first. For a moving camera, the Count in Zone page passes a coord_transform from the trackers motion estimator to the zone test.
CompactMask stores each mask as a run-length encoding of its box crop, and Detections.from_inference takes compact_masks=True. The page warns that a native COCO RLE mask can lose pixels outside its reported box.
It is a library you run in your own Python code. The points below come from the maker’s pages.
This kit holds setup notes only. Mindket wrote them. Supervision itself installs from PyPI and from Roboflow's repository: https://github.com/roboflow/supervision
These notes are not made or endorsed by Roboflow. The README says: "We are your essential toolkit for computer vision. From data loading to real-time zone counting, we provide the building blocks so you can focus on building applications around your models." The documentation home page calls it "an open-source Python library by Roboflow for building computer vision applications." Docs: https://supervision.roboflow.com/
License: MIT. The LICENSE file (https://github.com/roboflow/supervision/blob/develop/LICENSE.md) is the MIT License text and reads "Copyright (c) 2022 Roboflow".
The repository's default branch is develop. A release on PyPI can be behind it, so the docs and the README can describe something your installed version does not have yet. After you install, check that the call you want exists in your version. That is Mindket's note, not the maker's.
supervision, the Python package, from PyPI. Source: https://github.com/roboflow/supervision/blob/develop/README.mdgeotiff (rasterio) and metrics (pandas). The benchmark guide installs supervision[metrics]. See setup/datasets-and-benchmarks.md.>=3.10. Source: https://github.com/roboflow/supervision/blob/develop/README.mdcv2 (the README's annotator example does) or reads a webcam. See setup/pip.md.roboflow.login() before its dataset download, and Benchmark a Model downloads with Roboflow(api_key="<YOUR_API_KEY>"). See setup/models-and-trackers.md and setup/datasets-and-benchmarks.md.pip install supervision
Source: https://github.com/roboflow/supervision/blob/develop/README.md and https://supervision.roboflow.com/latest/
develop branch with venv or uv, and the pre-release linetrackers packageThe maker documents no steps for Claude Code, Codex or Cursor. A coding agent that can run shell commands can run the commands in setup/pip.md. That is Mindket's note, not the maker's.
The README and the docs give no update or uninstall steps. For a package installed with pip, use pip's own update and uninstall. If you made a virtual environment only for Supervision, deleting its folder removes everything in it. These two lines are Mindket's notes.
To go back to an older release, the OpenCV migration page gives a pin. See setup/pip.md.
The README says nothing about usage data. These are the calls the docs show that reach the network: download_assets fetches a sample video, the roboflow package downloads a dataset after you log in, and the README says running with Inference needs a Roboflow API key. Sources: https://supervision.roboflow.com/latest/how_to/count_in_zone/, https://supervision.roboflow.com/latest/how_to/process_datasets/ and the README.
README.md 6 KB setup/conda-and-mamba.md 1 KB setup/datasets-and-benchmarks.md 6 KB setup/docs-and-examples.md 5 KB setup/from-source.md 2 KB setup/models-and-trackers.md 7 KB setup/pip.md 3 KB setup/poetry-uv-rye.md 900 B
Updated by Mindket to the current version of this kit.
Posts and comments that name this project on Hacker News, Bluesky, X, Reddit, Facebook and YouTube, found by a weekly search and on Trendshift. Mindket doesn’t write or check them. Open one to read it where it was posted.
alchaincyf · Skill
Turns a one-line request in your AI agent into a finished design: a launch animation, a clickable app prototype, an editable slide deck, an infographic or a se…
op7418 · Skill
Skill that makes single-file HTML slide decks, slide illustrations and platform covers in two visual styles, with a presenter mode for rehearsal. For speakers…
alirezarezvani · Skill
Adds 411 ready-made skills for Claude Code and other coding agents, grouped by role from engineering and product to marketing, finance and compliance. Installs…
rohitg00 · Kit
Rohit Ghumare’s free, MIT-licensed course that builds AI from raw math up to agents and production, in twenty phases. Tutor skills for Claude Code, Codex and C…
microsoft · Kit
Microsoft’s free 12-week, 24-lesson AI curriculum, with quizzes, Jupyter notebooks and labs. It runs from the history of AI and expert systems through neural n…
prometheus · Kit
Collects metrics from your services on a schedule, stores them as time series, evaluates rules over them and raises alerts. For teams that run and watch system…