Merge remote-tracking branch 'origin/feature/redesigned_annotators' into feature/redesigned_annotators

This commit is contained in:
SkalskiP committed 2023-09-28 15:51:06 +02:00
commit 0b1627f835
2 files changed
+3 -1

No files matched your search

+1 -1
View File
@@ -4,4 +4,4 @@
## MaskAnnotator
:::supervision.annotators.core.MaskAnnotator
:::supervision.annotators.core.MaskAnnotator
+2
View File
@@ -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(),