supervision/tests/key_points
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
..
__init__.py refactor: reorganize project structure and update module imports (#2112) 2026-02-03 15:24:47 +01:00
test_annotators.py fix(annotators): resolve annotator medium findings (#2407) 2026-07-06 22:43:35 +02:00
test_core.py fix(key_points): handle empty and numpy index input, keep degenerate skeletons (#2402) 2026-07-07 00:02:38 +02:00
test_skeletons.py chore: bump minimum Python to 3.10 (#2260) 2026-06-29 14:45:30 +02:00