supervision/tests/cv2
Jirka Borovec f7b63f149a
perf(cv2): simplify fallback operations (#2441)
- Remove unused compatibility operations and use focused Pillow and NumPy paths to reduce maintained fallback code.
- Preserve numerical decisions and hot-path performance with exact regression coverage and bounded algorithms.
- Preserve INTER_LINEAR uint8 reductions within one LSB while retaining the resize performance budget and numeric RGBA handling.
- Restore repeated-endpoint contour anchors and bound cross-platform chamfer coefficient drift in regression tests.

---------

Co-authored-by: Codex <codex@openai.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-07-17 17:31:57 +02:00
..
__init__.py refactor(cv2): add optional backend facade (#2430) 2026-07-15 20:53:24 +02:00
test_color.py perf(cv2): simplify fallback operations (#2441) 2026-07-17 17:31:57 +02:00
test_components.py perf(cv2): simplify fallback operations (#2441) 2026-07-17 17:31:57 +02:00
test_constants.py perf(cv2): simplify fallback operations (#2441) 2026-07-17 17:31:57 +02:00
test_contours.py perf(cv2): simplify fallback operations (#2441) 2026-07-17 17:31:57 +02:00
test_cv2.py perf(cv2): simplify fallback operations (#2441) 2026-07-17 17:31:57 +02:00
test_drawing.py refactor(cv2): replace Hershey text with Pillow (#2440) 2026-07-17 10:22:32 +02:00
test_geometry.py perf(cv2): simplify fallback operations (#2441) 2026-07-17 17:31:57 +02:00
test_image.py perf(cv2): simplify fallback operations (#2441) 2026-07-17 17:31:57 +02:00
test_integration.py feat(cv2): complete fallback integration (#2439) 2026-07-17 07:50:45 +02:00
test_text.py perf(cv2): simplify fallback operations (#2441) 2026-07-17 17:31:57 +02:00
test_transform.py perf(cv2): simplify fallback operations (#2441) 2026-07-17 17:31:57 +02:00
test_video.py feat(cv2): complete fallback integration (#2439) 2026-07-17 07:50:45 +02:00