From e5eaf261372f8b1d44b189c7723498633c3f31fe Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 28 Sep 2023 13:37:04 +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 --- docs/detection/annotate.md | 2 +- supervision/annotators/core.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/detection/annotate.md b/docs/detection/annotate.md index 4aab65c3..be3ed8ab 100644 --- a/docs/detection/annotate.md +++ b/docs/detection/annotate.md @@ -4,4 +4,4 @@ ## MaskAnnotator -:::supervision.annotators.core.MaskAnnotator \ No newline at end of file +:::supervision.annotators.core.MaskAnnotator diff --git a/supervision/annotators/core.py b/supervision/annotators/core.py index 9a4758b3..2d55862d 100644 --- a/supervision/annotators/core.py +++ b/supervision/annotators/core.py @@ -67,6 +67,7 @@ class BoundingBoxAnnotator(BaseAnnotator): """ A class for drawing bounding boxes on an image using provided detections. """ + def __init__( self, color: Union[Color, ColorPalette] = ColorPalette.default(), @@ -132,6 +133,7 @@ class MaskAnnotator(BaseAnnotator): """ A class for drawing masks on an image using provided detections. """ + def __init__( self, color: Union[Color, ColorPalette] = ColorPalette.default(),