Skip to main content

roboflow-supervision

Usa a post-procesar detecciones y anotar con Supervision.

설치로 이동

소스 정보

저장소
Ntizar/MasterMind
최근 소스 활동
2026년 9월 5일 21:34
감지된 SKILL.md 언어
스페인어
스타
2
포크
0

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
roboflow-supervision
description
Usa a post-procesar detecciones y anotar con Supervision.
version
2.0.0
tags
["supervision","deteccion","anotar","yolo","roboflow","vision","python"]
related_skills
["roboflow-supervision","cctv-yolo","fast-alpr","rf-detr"]
# Supervision — post-procesado y anotaciones de visión (API actual) > ⚠️ Corrección 2026-09-05 (auditoría): `sv.Image`, `Detections.from_yolov8` y `Detections.from_coco_json` ya **no existen** en Supervision moderno. La API actual pasa numpy/PIL directo y usa `from_ultralytics` y helpers de `supervision.dataset`. **Repo:** `https://github.com/roboflow/supervision` (Python, ~50K⭐). ## When to Use - Cuando pidas **anotar/visualizar/dibujar cajas** de detecciones (YOLO, etc.) o filtros/post-procesado (zone, line, byte_tracker) sobre vídeo/imagen. ## Uso (API real) ```python import supervision as sv # Anotar con cajas: la imagen se pasa directa (numpy/PIL), sin sv.Image annotated = box_annotator.annotate(scene=image.copy(), detections=detections) # Detecciones desde Ultralytics YOLO: detections = sv.Detections.from_ultralytics(results) # (ya no from_yolov8) # Carga de datasets COCO: helpers de supervision.dataset from supervision.dataset import load_coco_annotations, coco_annotations_to_detections ``` ## Pitfalls - **No** `sv.Image` — pasa la imagen numpy/PIL directamente a `annotate(scene=..., detections=...)`. - **No** `Detections.from_yolov8` → `from_ultralytics`; `from_yolov5` sí existe. - **No** `Detections.from_coco_json` → helpers `supervision.dataset`. ## Verificación - `annotate(scene=image, detections=...)` y comprobar que las bboxes se dibujan; `from_ultralytics` con un modelo YOLO.
GitHub에서 보기