Merge remote-tracking branch 'origin/feature/redesigned_annotators' into feature/redesigned_annotators
This commit is contained in:
commit
0b1627f835
2 files changed
+3
-1
No files matched your search
@@ -4,4 +4,4 @@
|
||||
|
||||
## MaskAnnotator
|
||||
|
||||
:::supervision.annotators.core.MaskAnnotator
|
||||
:::supervision.annotators.core.MaskAnnotator
|
||||
@@ -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(),
|
||||
|
||||
Reference in new issue
Block a user