diff --git a/docs/detection/tools/polygon_zone.md b/docs/detection/tools/polygon_zone.md
index cbe76c20..1d445d9f 100644
--- a/docs/detection/tools/polygon_zone.md
+++ b/docs/detection/tools/polygon_zone.md
@@ -1,5 +1,6 @@
---
comments: true
+status: new
---
diff --git a/docs/detection/utils.md b/docs/detection/utils.md
index 25c84475..5f1902b7 100644
--- a/docs/detection/utils.md
+++ b/docs/detection/utils.md
@@ -1,5 +1,6 @@
---
comments: true
+status: new
---
# Detection Utils
diff --git a/docs/keypoint/annotators.md b/docs/keypoint/annotators.md
index 30a970ec..32f30626 100644
--- a/docs/keypoint/annotators.md
+++ b/docs/keypoint/annotators.md
@@ -1,6 +1,5 @@
---
comments: true
-status: new
---
# Annotators
diff --git a/docs/utils/image.md b/docs/utils/image.md
index 93cc5a45..8e39136a 100644
--- a/docs/utils/image.md
+++ b/docs/utils/image.md
@@ -1,6 +1,5 @@
---
comments: true
-status: new
---
# Image Utils
diff --git a/docs/utils/video.md b/docs/utils/video.md
index dfae543d..f9a5821d 100644
--- a/docs/utils/video.md
+++ b/docs/utils/video.md
@@ -1,6 +1,5 @@
---
comments: true
-status: new
---
# Video Utils
diff --git a/supervision/detection/line_zone.py b/supervision/detection/line_zone.py
index de6c1e0d..98558922 100644
--- a/supervision/detection/line_zone.py
+++ b/supervision/detection/line_zone.py
@@ -696,6 +696,19 @@ class LineZoneAnnotatorMulticlass:
line_zones: List[LineZone],
line_zone_labels: Optional[List[str]] = None,
) -> np.ndarray:
+ """
+ Draws a table with the number of objects of each class that crossed each line.
+
+ Attributes:
+ frame (np.ndarray): The image on which the table will be drawn.
+ line_zones (List[LineZone]): The line zones to be annotated.
+ line_zone_labels (Optional[List[str]]): The labels, one for each
+ line zone. If not provided, the default labels will be used.
+
+ Returns:
+ (np.ndarray): The image with the table drawn on it.
+
+ """
if line_zone_labels is None:
line_zone_labels = [f"Line {i + 1}:" for i in range(len(line_zones))]
if len(line_zones) != len(line_zone_labels):
diff --git a/supervision/detection/tools/polygon_zone.py b/supervision/detection/tools/polygon_zone.py
index af0d1c0c..ac7203ff 100644
--- a/supervision/detection/tools/polygon_zone.py
+++ b/supervision/detection/tools/polygon_zone.py
@@ -1,6 +1,5 @@
-import warnings
from dataclasses import replace
-from typing import Iterable, Optional, Tuple
+from typing import Iterable, Optional
import cv2
import numpy as np
@@ -12,7 +11,6 @@ from supervision.draw.color import Color
from supervision.draw.utils import draw_filled_polygon, draw_polygon, draw_text
from supervision.geometry.core import Position
from supervision.geometry.utils import get_polygon_center
-from supervision.utils.internal import SupervisionWarnings
class PolygonZone:
@@ -33,17 +31,8 @@ class PolygonZone:
def __init__(
self,
polygon: npt.NDArray[np.int64],
- frame_resolution_wh: Optional[Tuple[int, int]] = None,
triggering_anchors: Iterable[Position] = (Position.BOTTOM_CENTER,),
):
- if frame_resolution_wh is not None:
- warnings.warn(
- "The `frame_resolution_wh` parameter is no longer required and will be "
- "dropped in version supervision-0.24.0. The mask resolution is now "
- "calculated automatically based on the polygon coordinates.",
- category=SupervisionWarnings,
- )
-
self.polygon = polygon.astype(int)
self.triggering_anchors = triggering_anchors
if not list(self.triggering_anchors):