supervision/tests
Abhijith Neil Abraham 5b4c8b6d0d
fix(key_points): handle empty and numpy index input, keep degenerate skeletons (#2402)
* handle empty and numpy index input, keep degenerate skeletons

- Filter non-finite keypoint coordinates when converting to detections while preserving finite zero-area skeletons.
- Treat zero-length KeyPoints selections as empty and add regression coverage for metadata alignment and selected-index equivalence.

---------

Co-authored-by: jirka <6035284+Borda@users.noreply.github.com>
Co-authored-by: Codex <codex@openai.com>
2026-07-07 00:02:38 +02:00
..
annotators fix(annotators): resolve annotator medium findings (#2407) 2026-07-06 22:43:35 +02:00
assets chore: bump minimum Python to 3.10 (#2260) 2026-06-29 14:45:30 +02:00
classification refactor docstrings in `draw`, `classification`, and `key_points` (#2161) 2026-03-10 18:07:39 +01:00
dataset fix: resolve remaining High findings from deep codebase review (#2389) 2026-07-03 22:58:07 +02:00
detection Fix detection medium review findings (#2400) 2026-07-06 19:02:38 +02:00
draw fix(annotators): resolve annotator medium findings (#2407) 2026-07-06 22:43:35 +02:00
geometry fix: replace deprecated 2-D np.cross with explicit determinant (#2386) 2026-07-02 19:01:39 +02:00
key_points fix(key_points): handle empty and numpy index input, keep degenerate skeletons (#2402) 2026-07-07 00:02:38 +02:00
metrics fix: resolve remaining High findings from deep codebase review (#2389) 2026-07-03 22:58:07 +02:00
tracker chore: bump minimum Python to 3.10 (#2260) 2026-06-29 14:45:30 +02:00
utils fix(annotators): resolve annotator medium findings (#2407) 2026-07-06 22:43:35 +02:00
__init__.py refactor: reorganize project structure and update module imports (#2112) 2026-02-03 15:24:47 +01:00
conftest.py chore: bump minimum Python to 3.10 (#2260) 2026-06-29 14:45:30 +02:00
helpers.py fix(detection): harden model connectors and mask extraction (#2398) 2026-07-03 20:09:57 +02:00
test_public_api.py fix(annotators): resolve annotator medium findings (#2407) 2026-07-06 22:43:35 +02:00
test_validate_deprecations.py chore: bump minimum Python to 3.10 (#2260) 2026-06-29 14:45:30 +02:00