supervision/tests/utils
Erik 541b0226cd
feat: add image URL loader (#2372)
- Added image loading from HTTP and HTTPS URLs with descriptive URL validation errors
- Added optional caching for image URL loads using the shared Supervision cache
- Improved URL downloads with atomic file replacement and shared download behavior across image loading and asset downloads
- Updated image decoding compatibility with Pillow fallbacks when OpenCV decoding or encoding is unavailable

---------

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2026-07-28 21:24:55 +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 feat: add image URL loader (#2372) 2026-07-28 21:24:55 +02:00
test_image.py feat: add image URL loader (#2372) 2026-07-28 21:24:55 +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