supervision/tests/utils
Mahbod b20d6eac46
feat(utils): add prefetch to `get_video_frames_generator` (#2273)
* feat(utils): add prefetch to get_video_frames_generator
* fix(utils): harden _prefetched_frames_generator threading safety
* test(utils): add prefetch combination and minimum-queue tests
* docs(utils): improve prefetch documentation, validation, and test docstrings
* fix(utils): harden prefetch reader-thread exception handling + docs
* docs(changelog): sync front-matter date_modified
* test(utils): harden and extend prefetch test coverage
* test(utils): cover buffered-frames-before-error and zero-frame prefetch cases

---------

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-07-21 14:12:08 +02:00
..
assets refactor: reorganize project structure and update module imports (#2112) 2026-02-03 15:24:47 +01:00
__init__.py refactor: reorganize project structure and update module imports (#2112) 2026-02-03 15:24:47 +01:00
conftest.py feat(cv2): complete fallback integration (#2439) 2026-07-17 07:50:45 +02:00
test_conversion.py feat(utils): add `TkImageWindow` to unblock switch to `opencv-python-headless` (#2320) 2026-07-15 15:06:55 +02:00
test_file.py chore: bump minimum Python to 3.10 (#2260) 2026-06-29 14:45:30 +02:00
test_image.py refactor(cv2): add optional backend facade (#2430) 2026-07-15 20:53:24 +02:00
test_image_window.py feat(utils): add `TkImageWindow` to unblock switch to `opencv-python-headless` (#2320) 2026-07-15 15:06:55 +02:00
test_internal.py feat(cv2): complete fallback integration (#2439) 2026-07-17 07:50:45 +02:00
test_iterables.py chore: bump minimum Python to 3.10 (#2260) 2026-06-29 14:45:30 +02:00
test_logger.py chore: bump minimum Python to 3.10 (#2260) 2026-06-29 14:45:30 +02:00
test_notebook.py fix(annotators): resolve annotator medium findings (#2407) 2026-07-06 22:43:35 +02:00
test_sinks.py fix(annotators): resolve annotator medium findings (#2407) 2026-07-06 22:43:35 +02:00
test_video.py feat(utils): add prefetch to `get_video_frames_generator` (#2273) 2026-07-21 14:12:08 +02:00