From 4bbf040a48a9f0d2645639ba550ce05ee5df9f69 Mon Sep 17 00:00:00 2001 From: MKSubrahmanya12345 Date: Tue, 21 Oct 2025 16:08:16 +0530 Subject: [PATCH 1/2] docs: Fix outdated doc files per issue #1920 --- docs/deprecated.md | 6 ++---- docs/detection/utils/boxes.md | 14 +++++++++++++- docs/detection/utils/masks.md | 12 ++++++++++++ 3 files changed, 27 insertions(+), 5 deletions(-) diff --git a/docs/deprecated.md b/docs/deprecated.md index 47ebcc16a..e6e4afd05 100644 --- a/docs/deprecated.md +++ b/docs/deprecated.md @@ -7,11 +7,9 @@ status: deprecated These features are phased out due to better alternatives or potential issues in future versions. Deprecated functionalities are supported for **five subsequent releases**, providing time for users to transition to updated methods. +- `overlap_ratio_wh` in [`InferenceSlicer.__init__`](https://supervision.roboflow.com/latest/detection/tools/inference_slicer/) is deprecated and will be removed in `supervision-0.27.0`. Please set it to `None` and use `overlap_wh` instead. -- `overlap_filter_strategy` in [`InferenceSlicer.__init__`](https://supervision.roboflow.com/latest/detection/tools/inference_slicer/) is deprecated and will be removed in `supervision-0.27.0`. Use `overlap_strategy` instead. -- `overlap_ratio_wh` in [`InferenceSlicer.__init__`](https://supervision.roboflow.com/latest/detection/tools/inference_slicer/) is deprecated and will be removed in `supervision-0.27.0`. Use `overlap_wh` instead. -- `sv.LMM` enum is deprecated and will be removed in `supervision-0.31.0`. Use `sv.VLM` instead. -- [`sv.Detections.from_lmm`](https://supervision.roboflow.com/0.26.0/detection/core/#supervision.detection.core.Detections.from_lmm) property is deprecated and will be removed in `supervision-0.31.0`. Use [`sv.Detections.from_vlm`](https://supervision.roboflow.com/0.26.0/detection/core/#supervision.detection.core.Detections.from_vlm) instead. +- [`sv.Detections.from_lmm`](https://supervision.roboflow.com/0.26.0/detection/core/#supervision.detection.core.Detections.from_lmm) property is deprecated and will be removed in `supervision-0.31.0`. Use `sv.Detections.from_vlm` instead. # Removed diff --git a/docs/detection/utils/boxes.md b/docs/detection/utils/boxes.md index 63a323175..ad070d91b 100644 --- a/docs/detection/utils/boxes.md +++ b/docs/detection/utils/boxes.md @@ -18,7 +18,7 @@ status: new :::supervision.detection.utils.boxes.scale_boxes
-

clip_boxes

+

clip_boxes

:::supervision.detection.utils.boxes.clip_boxes @@ -34,3 +34,15 @@ status: new :::supervision.detection.utils.boxes.denormalize_boxes + +
+

move_oriented_boxes

+
+ +:::supervision.detection.utils.boxes.move_oriented_boxes + +
+

spread_out_boxes

+
+ +:::supervision.detection.utils.boxes.spread_out_boxes \ No newline at end of file diff --git a/docs/detection/utils/masks.md b/docs/detection/utils/masks.md index 9e53a6baa..37f13fe80 100644 --- a/docs/detection/utils/masks.md +++ b/docs/detection/utils/masks.md @@ -22,3 +22,15 @@ status: new :::supervision.detection.utils.masks.contains_multiple_segments + +
+

calculate_masks_centroids

+
+ +:::supervision.detection.utils.masks.calculate_masks_centroids + +
+

resize_masks

+
+ +:::supervision.detection.utils.masks.resize_masks \ No newline at end of file From eec6c29839f8cf2109c9efec326805c867abb4d0 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 21 Oct 2025 10:43:53 +0000 Subject: [PATCH 2/2] =?UTF-8?q?fix(pre=5Fcommit):=20=F0=9F=8E=A8=20auto=20?= =?UTF-8?q?format=20pre-commit=20hooks?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/detection/utils/boxes.md | 2 +- docs/detection/utils/masks.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/detection/utils/boxes.md b/docs/detection/utils/boxes.md index ad070d91b..1738f40cb 100644 --- a/docs/detection/utils/boxes.md +++ b/docs/detection/utils/boxes.md @@ -45,4 +45,4 @@ status: new

spread_out_boxes

-:::supervision.detection.utils.boxes.spread_out_boxes \ No newline at end of file +:::supervision.detection.utils.boxes.spread_out_boxes diff --git a/docs/detection/utils/masks.md b/docs/detection/utils/masks.md index 37f13fe80..a9ba57d3c 100644 --- a/docs/detection/utils/masks.md +++ b/docs/detection/utils/masks.md @@ -33,4 +33,4 @@ status: new

resize_masks

-:::supervision.detection.utils.masks.resize_masks \ No newline at end of file +:::supervision.detection.utils.masks.resize_masks