From f2e6d882fbb64f326e179cdd24f5837715982ac8 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 9 Apr 2024 12:50:48 +0000 Subject: [PATCH] =?UTF-8?q?fix(pre=5Fcommit):=20=F0=9F=8E=A8=20auto=20form?= =?UTF-8?q?at=20pre-commit=20hooks?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- supervision/utils/image.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/supervision/utils/image.py b/supervision/utils/image.py index a6466eaa..954533a2 100644 --- a/supervision/utils/image.py +++ b/supervision/utils/image.py @@ -26,8 +26,7 @@ MAX_COLUMNS_FOR_SINGLE_ROW_GRID = 3 @convert_for_image_processing def crop_image( - image: ImageType, - xyxy: Union[np.ndarray, List[int], Tuple[int, int, int, int]] + image: ImageType, xyxy: Union[np.ndarray, List[int], Tuple[int, int, int, int]] ) -> ImageType: """ Crops the given image based on the given bounding box.