fix(pre_commit): 🎨 auto format pre-commit hooks
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import warnings
|
||||
from dataclasses import replace
|
||||
from typing import Iterable, Optional, Tuple
|
||||
|
||||
import cv2
|
||||
import warnings
|
||||
import numpy as np
|
||||
import numpy.typing as npt
|
||||
|
||||
@@ -12,7 +12,7 @@ from supervision.draw.color import Color
|
||||
from supervision.draw.utils import draw_polygon, draw_text
|
||||
from supervision.geometry.core import Position
|
||||
from supervision.geometry.utils import get_polygon_center
|
||||
from supervision.utils.internal import deprecated_parameter, SupervisionWarnings
|
||||
from supervision.utils.internal import SupervisionWarnings, deprecated_parameter
|
||||
|
||||
|
||||
class PolygonZone:
|
||||
@@ -101,7 +101,6 @@ class PolygonZone:
|
||||
return is_in_zone.astype(bool)
|
||||
|
||||
|
||||
|
||||
class PolygonZoneAnnotator:
|
||||
"""
|
||||
A class for annotating a polygon-shaped zone within a
|
||||
|
||||
Reference in New Issue
Block a user