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 d7f4aff0..2e785f1c 100644 --- a/supervision/annotators/core.py +++ b/supervision/annotators/core.py @@ -17,6 +17,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(), @@ -82,6 +83,7 @@ class MaskAnnotator(BaseAnnotator): """ A class for drawing masks on an image using provided detections. """ + def __init__( self, color: Union[Color, ColorPalette] = ColorPalette.default(),