supervision/docs
Lee Clement 62efdee025
feat: Detections.from_inference supports compressed RLE masks (#2178)
* Detections.from_inference works on RLE-encoded masks
* Apply suggestions from code review
* fix: harden RLE handling in from_inference and decoder
* lint: fix cv2.fillPoly color type in polygon_to_mask
* fix: resize RLE mask to image dims when size mismatches
* fix: pass RLE counts directly in coco_annotations_to_masks
* test: document mixed RLE + box-only batch misalignment
* test: add compressed RLE iscrowd case to coco_annotations_to_detections
* fix: cast polygon mask to bool in process_roboflow_result
* fix: log warning when RLE decode fails in process_roboflow_result
* fix: replace assert with ValueError in rle_to_mask
* test: add bytes invalid UTF-8 case to rle_to_mask tests
* docs: note rle_to_mask dtype change from uint8 to bool in changelog
* refactor: tighten rle_to_mask NDArray input type to np.integer[Any]
* refactor: drop mask_to_rle overloads; cast at call site
* docs: clarify COCO column-major RLE order in rle_to_mask/mask_to_rle
* refactor: update @deprecated annotations and docstrings for mask_to_rle/rle_to_mask; add pydeprecate dependency
* refactor: replace mask_to_rle body with `void` function to suppress unused argument warnings

---------

Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2026-04-15 22:35:47 +02:00
..
assets add lenny 2023-12-04 17:03:05 +00:00
classification docs(fix): 🐞📝 removal of table of content duplicates core(Detections,Classification) 2024-01-31 15:09:07 +03:00
datasets feat: Detections.from_inference supports compressed RLE masks (#2178) 2026-04-15 22:35:47 +02:00
detection feat: Detections.from_inference supports compressed RLE masks (#2178) 2026-04-15 22:35:47 +02:00
how_to Fix Albumentations docs typo 2026-02-10 21:48:50 +09:00
javascripts docs: fix copy doctests without `>>>` and `...` by button & ctr+c (#2138) 2026-02-04 23:09:16 +09:00
keypoint docs: Wrap all placeholder paths in quotes and code expressions (#2128) 2026-02-03 14:00:40 +01:00
metrics update `new` docs page marks 2025-11-14 14:52:39 +01:00
notebooks Human behavior with YOLO-World Cookbook (#915) 2026-02-03 14:59:08 +01:00
stylesheets after few tests drop support for `pycon` in docs examples 2025-08-07 07:41:52 +02:00
theme docs: fix copy doctests without `>>>` and `...` by button & ctr+c (#2138) 2026-02-04 23:09:16 +09:00
utils reimplement `crop_image` to skip type casting when Pillow Image given 2025-11-14 17:55:07 +01:00
CNAME
assets.md Add ImageAssets for download (#932) 2026-02-12 19:22:15 +09:00
changelog.md feat: Detections.from_inference supports compressed RLE masks (#2178) 2026-04-15 22:35:47 +02:00
code_of_conduct.md move CODE_OF_CONDUCT.md and CONTRIBUTING.md for improved accessibility (#2036) 2026-02-03 03:58:28 +01:00
contributing.md move CODE_OF_CONDUCT.md and CONTRIBUTING.md for improved accessibility (#2036) 2026-02-03 03:58:28 +01:00
cookbooks.md Update "New" tags in docs, fix typo in one heading 2024-06-05 17:44:25 +02:00
deprecated.md docs: Fix outdated doc files (#1995) 2026-02-03 16:52:55 +01:00
index.md docs: Wrap all placeholder paths in quotes and code expressions (#2128) 2026-02-03 14:00:40 +01:00
license.md docs: contributing.md/code_of_conduct/license added into docs 2024-01-31 22:10:28 +03:00
trackers.md make sure only recently updated pages have new status 2025-07-15 20:10:35 +02:00