* 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> |
||
|---|---|---|
| .. | ||
| boxes.md | ||
| converters.md | ||
| iou_and_nms.md | ||
| masks.md | ||
| polygons.md | ||
| vlms.md | ||