- Added CreateML import/export support for detection datasets, including pixel-space center/width/height box conversion, class-name inference, global class-id consistency, and image path safety validation. - Added optional progress bars for CreateML loading, exporting, and image saving. - Improved CreateML validation with clear errors for malformed JSON, missing fields, duplicate images, null annotations, and unsafe image paths. - Updated dataset documentation and references to include CreateML workflows and `from_createml` / `as_createml` usage. --------- Co-authored-by: jirka <6035284+Borda@users.noreply.github.com> Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com> Co-authored-by: Codex <codex@openai.com>
631 B
631 B
comments, description
| comments | description |
|---|---|
| true | API reference for supervision's DetectionDataset and ClassificationDataset — load, merge, split, and convert datasets in YOLO, COCO, VOC, and CreateML formats. |
Datasets
!!! warning
Dataset API is still fluid and may change. If you use Dataset API in your project until further notice, freeze the `supervision` version in your `requirements.txt` or `setup.py`.
DetectionDataset
:::supervision.dataset.core.DetectionDataset
ClassificationDataset
:::supervision.dataset.core.ClassificationDataset