From 856c72eb67776b8a94c479763f7aebff91cb3048 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 23 Sep 2024 09:55:01 +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/detection/core.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/supervision/detection/core.py b/supervision/detection/core.py index 2d30676f..d9629624 100644 --- a/supervision/detection/core.py +++ b/supervision/detection/core.py @@ -893,8 +893,8 @@ class Detections: class_ids.append(ncnn_result.label) return cls( - xyxy=xywh_to_xyxy(np.array(xywh,dtype=np.float32)), - confidence=np.array(confidences,dtype=np.float32), + xyxy=xywh_to_xyxy(np.array(xywh, dtype=np.float32)), + confidence=np.array(confidences, dtype=np.float32), class_id=np.array(class_ids, dtype=int), )