supervision/tests/detection/tools
Jirka Borovec e13090f84b
Fix detection medium review findings (#2400)
- Fixed detection medium findings across adapters, mask non-max merge, sinks, segmentation parsing, LineZone history, and mask ROI handling
- Fixed mask non-max merge deprecation warnings to honor the standard warning opt-out and include version context
- Fixed mask non-max merge validation for invalid IoU thresholds
- Fixed CompactMask non-max merge grouping to update merged mask candidates correctly
- Fixed selected and compacted detections to copy arrays and metadata, preventing mutations from leaking back to source detections
- Fixed LineZone crossing history eviction to tolerate short tracking gaps and evict stale state per tracker/class key
- Fixed semantic segmentation handling to preserve class ID 0
- Improved mask ROI conversion performance by avoiding unnecessary full-frame copies and repeated scans
- Updated JSONSink changelog/docs to document native bool/int/float output while leaving CSVSink unchanged
- Updated detection docstrings for mask parsing, selection copy semantics, validation errors, and argument readability guidance

---------

Co-authored-by: Codex <codex@openai.com>
Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2026-07-06 19:02:38 +02:00
..
__init__.py fix(detection): harden model connectors and mask extraction (#2398) 2026-07-03 20:09:57 +02:00
test_inference_slicer.py chore: bump minimum Python to 3.10 (#2260) 2026-06-29 14:45:30 +02:00
test_inference_slicer_geotiff.py chore: bump minimum Python to 3.10 (#2260) 2026-06-29 14:45:30 +02:00
test_smoother.py chore: bump minimum Python to 3.10 (#2260) 2026-06-29 14:45:30 +02:00
test_transformers.py Fix detection medium review findings (#2400) 2026-07-06 19:02:38 +02:00