- Added LabelMe import and export support for DetectionDataset, including per-image JSON loading/saving alongside existing dataset formats - Added LabelMe rectangle-to-box and polygon-to-mask conversion, with rectangle masks available when mask output is requested or polygon annotations are present - Added LabelMe path-safety protections by resolving image paths by basename and rejecting unsafe or ambiguous image references - Added validation for duplicate image basenames, malformed shape points, missing imagePath values, and invalid class IDs during LabelMe load/export - Improved LabelMe handling by warning and skipping unsupported shape types - Updated documentation and changelog with LabelMe workflow examples and supported-format references --------- Co-authored-by: Jirka Borovec <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>
640 B
640 B
comments, description
| comments | description |
|---|---|
| true | API reference for supervision's DetectionDataset and ClassificationDataset — load, merge, split, and convert datasets in YOLO, COCO, VOC, CreateML, and LabelMe 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