跳到正文
cccskills
免费在 GitHub 公开

dataset-annotation

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

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(3)

  • SKILL.md2.8 KB
  • requirements.txt80 B
  • scripts/annotate.py6.9 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

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

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Dataset annotation management — COCO labels, sequences, export, and Kaggle upload

中文简介正在准备中。当前显示原文说明。

SharpAI/DeepCamera31032026年9月17日 更新

Eufy camera integration — local RTSP streaming and event clips

中文简介正在准备中。当前显示原文说明。

SharpAI/DeepCamera31032026年9月17日 更新

Reolink camera integration — RTSP and HTTP API

中文简介正在准备中。当前显示原文说明。

SharpAI/DeepCamera31032026年9月17日 更新

TP-Link Tapo camera integration — RTSP streaming and ONVIF

中文简介正在准备中。当前显示原文说明。

SharpAI/DeepCamera31032026年9月17日 更新

LINE messaging channel for Clawdbot agent

中文简介正在准备中。当前显示原文说明。

SharpAI/DeepCamera31032026年9月17日 更新

Matrix/Element messaging channel for Clawdbot agent

中文简介正在准备中。当前显示原文说明。

SharpAI/DeepCamera31032026年9月17日 更新

查看 SharpAI 的全部技能

报告此技能的问题