supervision/tests/detection/utils
Ritwij Aryan Parmar 7d2259669b
Fix OBB IoU for non-square canvases (#2282)
* Fix OBB IoU canvas dimensions
* test(metrics): fix OBB metric parametrize — remove MAP, add smoke test
* test(metrics): clarify MAP OBB test is smoke test only
* test(iou): parametrize OBB scaling invariance test with y-dominant case
* fix(iou): add empty-input guard and x/y axis docs to oriented_box_iou_batch

---------

Co-authored-by: jirka <6035284+Borda@users.noreply.github.com>
Co-authored-by: Claude Code <noreply@anthropic.com>
2026-06-01 09:20:38 +02:00
..
__init__.py refactor: reorganize project structure and update module imports (#2112) 2026-02-03 15:24:47 +01:00
test_boxes.py refactor: reorganize project structure and update module imports (#2112) 2026-02-03 15:24:47 +01:00
test_converters.py refactor(rle): consolidate RLE primitives (#2230) 2026-04-22 12:32:14 +02:00
test_internal.py fix(detection): preserve `class_name` string dtype on empty `Detections.from_inference` (#2270) 2026-05-27 10:39:49 +02:00
test_iou_and_nms.py Fix OBB IoU for non-square canvases (#2282) 2026-06-01 09:20:38 +02:00
test_masks.py Add `match` arguments to all `pytest.raises` for more precise error validation in tests (#2145) 2026-02-10 21:22:55 +09:00
test_polygons.py refactor: reorganize project structure and update module imports (#2112) 2026-02-03 15:24:47 +01:00
test_vlms.py refactor: reorganize project structure and update module imports (#2112) 2026-02-03 15:24:47 +01:00