supervision/tests
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
..
annotators refactor(cv2): add optional backend facade (#2430) 2026-07-15 20:53:24 +02:00
assets fix: remaining review findings in dataset, docs, and tests (#2416) 2026-07-08 23:00:32 +02:00
classification fix: resolve medium dataset findings (#2408) 2026-07-08 08:56:34 +02:00
cv2 perf(cv2): simplify fallback operations (#2441) 2026-07-17 17:31:57 +02:00
dataset fix: read COCO export image sizes from headers instead of decoding pixels (#2442) 2026-07-17 18:30:24 +02:00
detection perf(cv2): simplify fallback operations (#2441) 2026-07-17 17:31:57 +02:00
draw feat(cv2): complete fallback integration (#2439) 2026-07-17 07:50:45 +02:00
geometry fix(docs): resolve review deprecation follow-ups (#2415) 2026-07-08 14:30:32 +02:00
key_points feat(cv2): complete fallback integration (#2439) 2026-07-17 07:50:45 +02:00
metrics fix(metrics): avoid division by zero RuntimeWarning in F1Score using np.divide (#2437) 2026-07-17 17:11:45 +02:00
tracker fix: remaining review findings in dataset, docs, and tests (#2416) 2026-07-08 23:00:32 +02:00
utils feat(cv2): complete fallback integration (#2439) 2026-07-17 07:50:45 +02:00
validators fix: remaining review findings in dataset, docs, and tests (#2416) 2026-07-08 23:00:32 +02:00
__init__.py refactor: reorganize project structure and update module imports (#2112) 2026-02-03 15:24:47 +01:00
conftest.py fix: remaining review findings in dataset, docs, and tests (#2416) 2026-07-08 23:00:32 +02:00
helpers.py feat(cv2): complete fallback integration (#2439) 2026-07-17 07:50:45 +02:00
test_public_api.py fix: remaining review findings in dataset, docs, and tests (#2416) 2026-07-08 23:00:32 +02:00
test_validate_deprecations.py feat(cv2): complete fallback integration (#2439) 2026-07-17 07:50:45 +02:00