From 484e53324e31145b678de42e057cd192e076b2cc Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 21 Sep 2023 12:36:21 +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 --- examples/tracking/script.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/examples/tracking/script.py b/examples/tracking/script.py index 7f8b5753..4cf572b3 100644 --- a/examples/tracking/script.py +++ b/examples/tracking/script.py @@ -30,11 +30,13 @@ def process_video( detections = tracker.update_with_detections(detections) annotated_frame = box_annotator.annotate( - scene=frame.copy(), detections=detections) - + scene=frame.copy(), detections=detections + ) + annotated_labeled_frame = label_annotator.annotate( - scene=annotated_frame, detections=detections) - + scene=annotated_frame, detections=detections + ) + sink.write_frame(frame=annotated_labeled_frame)