From 552c8dbede733221120bc1defd6dcb885724b63b Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 27 Jun 2024 12:21:27 +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/annotators/core.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/supervision/annotators/core.py b/supervision/annotators/core.py index babbdf11..42c76053 100644 --- a/supervision/annotators/core.py +++ b/supervision/annotators/core.py @@ -2088,9 +2088,7 @@ class CropAnnotator(BaseAnnotator): (x1, y1), (x2, y2) = self.calculate_crop_coordinates( anchor=anchor, crop_wh=crop_wh, position=self.position ) - scene = overlay_image( - image=scene, overlay=resized_crop, anchor=(x1, y1) - ) + scene = overlay_image(image=scene, overlay=resized_crop, anchor=(x1, y1)) color = resolve_color( color=self.border_color, detections=detections,