fix(pre_commit): 🎨 auto format pre-commit hooks

This commit is contained in:
pre-commit-ci[bot] 2024-04-09 20:08:10 +00:00
parent 7ad50cc7c2
commit 6248fa7d17
2 changed files with 2 additions and 2 deletions

View File

@ -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,

View File

@ -368,7 +368,7 @@ class ImageSink:
Examples:
```python
import supervision as sv
frames_generator = sv.get_video_frames_generator(<SOURCE_VIDEO_PATH>, stride=2)
with sv.ImageSink(target_dir_path=<TARGET_CROPS_DIRECTORY>) as sink: