Skip to content

Commit

Permalink
finish logic, add imports
Browse files Browse the repository at this point in the history
  • Loading branch information
capjamesg committed Dec 4, 2023
1 parent b4fca50 commit 21bf374
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions supervision/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
MaskAnnotator,
PolygonAnnotator,
TraceAnnotator,
ColorAnnotator
)
from supervision.annotators.utils import ColorLookup
from supervision.classification.core import Classifications
Expand Down
2 changes: 1 addition & 1 deletion supervision/annotators/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -1205,7 +1205,7 @@ class ColorAnnotator(BaseAnnotator):
using provided detections.
"""

def __init__(self, color: Color = Color[255, 255, 255]):
def __init__(self, color: Color = Color(r=0, g=0, b=0)):
"""
Args:
color (Color): The color to replace the regions with.
Expand Down

0 comments on commit 21bf374

Please sign in to comment.