Cv Dataset Engineer
ASecurityAudit, prepare and split image datasets for computer vision (object detection, image classification, segmentation). Use when inspecting annotation files (YOLO txt, COCO JSON, Pascal VOC XML, class folders), checking label quality, class balance, empty or out-of-bounds boxes, images without labels, duplicate images, train/val/test splits and leakage, converting annotation formats, versioning a dataset, or drafting annotation guidelines. Not for tabular CSV/Excel profiling (use data-profiling-e...
- 19 stars
- 0 votes
- 0 copies
- 0 views
- Added November 29, 2026
Security analysis
100/100Pro scans all 4 files and shows the line behind each finding
npx -y skills add khoavd18/skills --skill cv-dataset-engineer --agent claude-codeAre you the author of Cv Dataset Engineer?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/khoavd18-cv-dataset-engineer)---
name: cv-dataset-engineer
description: Audit, prepare and split image datasets for computer vision (object detection, image classification, segmentation). Use when inspecting annotation files (YOLO txt, COCO JSON, Pascal VOC XML, class folders), checking label quality, class balance, empty or out-of-bounds boxes, images without labels, duplicate images, train/val/test splits and leakage, converting annotation formats, versioning a dataset, or drafting annotation guidelines. Not for tabular CSV/Excel profiling (use data-profiling-engineer) or for model metrics (use ml-model-evaluation).
---
# CV Dataset Engineer
Makes sure an image dataset is what everyone thinks it is before a model is trained or evaluated on it. Most "model problems" in CV are label, split or leakage problems.
## Inputs
- The dataset location and the task: detection, classification, instance/semantic segmentation, keypoints.
- The class list and any annotation guideline. Class boundaries (for example where "half-ripe" ends) are `UNKNOWN` until the data owner confirms them.
## Procedure
1. **Detect the stack**: find the annotation format (`data.yaml` + `labels/*.txt` = YOLO; one JSON with `images`/`annotations`/`categories` = COCO; per-image `.xml` = VOC; `split/class/` folders = classification) and the training framework from configs and imports. State what was detected and what is unknown. Never assume a format.
2. **Inventory** per split: images, label files, images without labels, labels without images, empty label files, unreadable files. Use [audit_cv_dataset.py](scripts/audit_cv_dataset.py) for YOLO and class-folder layouts.
3. **Class map**: one source of truth for id → name, identical in every config and split. Flag unused and out-of-range ids.
4. **Annotation validity**: coordinates in range, zero-size or out-of-image boxes, invalid polygons, duplicate boxes on the same object. Details per format in [dataset-audit-checklist.md](references/dataset-audit-checklist.md).
5. **Distribution**: instances and images per class per split, objects per image, box-size buckets (small/medium/large), and imbalance ratio. Report every percentage with its denominator.
6. **Leakage**: exact duplicates across splits, near-duplicates, and *group* leakage (frames of one video, one tree or plant, one session or device on both sides). Split by group, not by image. See [split-and-leakage.md](references/split-and-leakage.md).
7. **Label quality**: review a stratified sample per class, including hard cases (occluded, truncated, boundary classes). Measure agreement when two annotators label the same images.
8. **Change safely**: never edit raw annotations in place. Produce a new dataset version with a changelog and before/after counts.
9. **Report** using the template in the checklist.
## Rules
- An empty label file can mean "negative image" or "forgot to label". Ask; do not guess.
- The test split is frozen once created. Never move images between splits after looking at test results.
- Do not delete "hard" or "bad" images to improve metrics. Record every exclusion with a reason.
- Record a dataset version (file count + content hash or tool version) with every training and evaluation run.
- Images can contain people, faces, plates or locations. Do not upload or share them outside the project without permission.
- Follow the [ML quality contract](../ml-model-evaluation/references/ml-quality-contract.md) for evidence labels and risk tiers.
## Outputs
A dataset audit report (counts per split and class, findings ranked by impact with examples, leakage status, open questions for the data owner) and, when asked, a versioned cleaned dataset with a changelog.
## Hand-offs
Training configuration → **cv-model-training**. Metric definitions and test-set rules → **ml-model-evaluation**. Tabular metadata (CSV of image attributes) → **data-profiling-engineer**.
Files in this skill
- SKILL.md
- references/dataset-audit-checklist.md
- references/split-and-leakage.md
- scripts/audit_cv_dataset.py
Attribution
Related skills
View all in ai-agents →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.