Skip to content
FunCoding

dataset-annotation

AI-assisted dataset annotation with COCO export — bbox, SAM2, DINOv3 methods

Star
3,151
Category
Security
License
MIT
Last commit
Sep 17, 2026

skills/annotation/dataset-annotation/SKILL.md

View on GitHub

Dataset Annotation

AI-assisted dataset creation for training custom detection models. Supports three annotation methods with COCO format export.

What You Get

  • BBox annotation — draw bounding boxes, AI auto-suggests
  • SAM2 annotation — click to segment, get pixel-perfect masks
  • DINOv3 annotation — click a patch, find similar objects across frames via visual grounding
  • Object tracking — annotate keyframes, DINOv3 interpolates across the video
  • COCO export — standard images[], annotations[], categories[] format
  • Kaggle/HuggingFace upload — push datasets directly to platforms

Annotation Loop

1. Feed frames from clips → auto-detect objects
2. Human reviews → corrects bboxes, adds labels
3. Save as COCO dataset
4. Train improved model
5. Repeat with better auto-detection

Protocol

Aegis → Skill (stdin)

{"event": "frame", "camera_id": "...", "frame_path": "/tmp/frame.jpg", "frame_number": 0, "width": 1920, "height": 1080}
{"event": "detections", "frame_number": 0, "detections": [{"class": "person", "bbox": [100, 50, 200, 350], "confidence": 0.9, "track_id": "t1"}]}
{"event": "save_dataset", "name": "front_door_people", "format": "coco"}

Skill → Aegis (stdout)

{"event": "ready", "methods": ["bbox", "sam2", "dinov3"], "export_formats": ["coco", "yolo", "voc"]}
{"event": "annotation", "frame_number": 0, "annotations": [{"category": "person", "bbox": [100, 50, 200, 350], "track_id": "t1", "is_keyframe": true}]}
{"event": "dataset_saved", "format": "coco", "path": "~/datasets/front_door_people/", "stats": {"images": 150, "annotations": 423, "categories": 5}}

Setup

python3 -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt

Similar Skills

agent-security-hardening

AFaffaan-m/ECC314k3,503 new stars in the last 7 days

Featured

ponytail-audit

Audit the whole repo: find bugs, security holes and performance bottlenecks. Get a ranked report in plain English.

DIDietrichGebert/ponytail202k4,226 new stars in the last 7 days

gstack

GAgarrytan/gstack143k524 new stars in the last 7 days

Featured

security-and-hardening

Harden code against the OWASP Top 10: input handling, authentication, sessions and dependencies.

ADaddyosmani/agent-skills122k1,421 new stars in the last 7 days

doubt-driven-development

ADaddyosmani/agent-skills122k1,421 new stars in the last 7 days

ruview-rvagent

RUruvnet/RuView106k596 new stars in the last 7 days