supervision/tests/detection/utils
Agis Kounelis 3b485f719a
refine(detection): make `with_nms` and `with_nmm` OBB-aware (#2303)
* fix(detection): make with_nms and with_nmm OBB-aware
* perf(detection): bound rasterization canvas in oriented_box_iou_batch
* fix(detection): with_nmm OBB/AABB xyxy fix; 3-path dispatch docs
* fix(detection): shape validation, NMM assert, docstring/Examples
* test(detection): with_nmm fallback, OBB AABB fix, boundary and IOS tests
* docs(changelog): document OBB with_nms/nmm behaviour change for #2303
* docs(detection): convert OBB NMS/NMM examples to doctests
* refactor(test): group OBB NMS/NMM tests into classes
* refactor(test): merge duplicate NMS class-awareness tests via parametrize
* refactor(test): parametrize overlap-metric and dispatch tests

---------

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: OpenAI Codex <codex@openai.com>
2026-06-09 13:11:09 +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 refine(detection): make `with_nms` and `with_nmm` OBB-aware (#2303) 2026-06-09 13:11:09 +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