From 6248fa7d170ce765e5d59d2bce839836171841f3 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 20:08:10 +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/__init__.py | 2 +- supervision/utils/image.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/supervision/__init__.py b/supervision/__init__.py index 6cdb23ca..f8e7a832 100644 --- a/supervision/__init__.py +++ b/supervision/__init__.py @@ -34,7 +34,6 @@ from supervision.dataset.core import ( ClassificationDataset, DetectionDataset, ) -from supervision.utils.conversion import pillow_to_cv2, cv2_to_pillow from supervision.detection.annotate import BoxAnnotator from supervision.detection.core import Detections from supervision.detection.line_zone import LineZone, LineZoneAnnotator @@ -72,6 +71,7 @@ from supervision.geometry.core import Point, Position, Rect from supervision.geometry.utils import get_polygon_center from supervision.metrics.detection import ConfusionMatrix, MeanAveragePrecision from supervision.tracker.byte_tracker.core import ByteTrack +from supervision.utils.conversion import cv2_to_pillow, pillow_to_cv2 from supervision.utils.file import list_files_with_extensions from supervision.utils.image import ( ImageSink, diff --git a/supervision/utils/image.py b/supervision/utils/image.py index dd3316ec..44ccbeac 100644 --- a/supervision/utils/image.py +++ b/supervision/utils/image.py @@ -368,7 +368,7 @@ class ImageSink: Examples: ```python import supervision as sv - + frames_generator = sv.get_video_frames_generator(, stride=2) with sv.ImageSink(target_dir_path=) as sink: