From 1d0ffeba72a8f32c7da8afae618c22b950a591d0 Mon Sep 17 00:00:00 2001 From: Rajarshi-Misra <72802594+Rajarshi-Misra@users.noreply.github.com> Date: Wed, 4 Oct 2023 22:23:54 +0530 Subject: [PATCH] Comments corrected --- supervision/annotators/core.py | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/supervision/annotators/core.py b/supervision/annotators/core.py index f0c0b2a5..930420d4 100644 --- a/supervision/annotators/core.py +++ b/supervision/annotators/core.py @@ -573,11 +573,7 @@ class BlurAnnotator(BaseAnnotator): def __init__(self, kernel_size: int = 15): """ Args: - color (Union[Color, ColorPalette]): The color or color palette to use for - annotating detections. - thickness (int): Thickness of the circle line. - color_map (str): Strategy for mapping colors to annotations. - Options are `index`, `class`, or `track`. + kernel_size: the size of the average pooling kernel used for blurring """ self.kernel_size: int = kernel_size @@ -598,8 +594,8 @@ class BlurAnnotator(BaseAnnotator): >>> import supervision as sv >>> image = ... >>> detections = sv.Detections(...) - >>> circle_annotator = sv.CircleAnnotator() - >>> annotated_frame = circle_annotator.annotate( + >>> blue_annotator = sv.BlurAnnotator() + >>> annotated_frame = blur_annotator.annotate( ... scene=image.copy(), ... detections=detections ... )