supervision/tests/dataset
Lee Clement 60d748e57d
fix: read COCO export image sizes from headers instead of decoding pixels (#2442)
save_coco_annotations iterated the dataset, cv2-decoding every image only
to read its shape — even for labels-only exports. Sizes now come from the
in-memory array when present, else a lazy PIL header read, the same
optimization from_yolo uses (#1636).

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com>
2026-07-17 18:30:24 +02:00
..
formats fix: read COCO export image sizes from headers instead of decoding pixels (#2442) 2026-07-17 18:30:24 +02:00
__init__.py refactor: reorganize project structure and update module imports (#2112) 2026-02-03 15:24:47 +01:00
test_core.py feat(cv2): complete fallback integration (#2439) 2026-07-17 07:50:45 +02:00
test_progress.py feat(cv2): complete fallback integration (#2439) 2026-07-17 07:50:45 +02:00
test_utils.py fix(docs): resolve review deprecation follow-ups (#2415) 2026-07-08 14:30:32 +02:00