From c5d052ed166ff1788164338abbe7a8b924a18dea Mon Sep 17 00:00:00 2001 From: Bhavay Malhotra Date: Mon, 22 Jul 2024 14:36:55 +0530 Subject: [PATCH] text_color from DEFAULT to LEGACY --- supervision/annotators/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/supervision/annotators/core.py b/supervision/annotators/core.py index 6f640cf2..aecf1832 100644 --- a/supervision/annotators/core.py +++ b/supervision/annotators/core.py @@ -1011,7 +1011,7 @@ class LabelAnnotator(BaseAnnotator): def __init__( self, color: Union[Color, ColorPalette] = ColorPalette.DEFAULT, - text_color: Union[Color, ColorPalette] = ColorPalette.DEFAULT, + text_color: Union[Color, ColorPalette] = ColorPalette.LEGACY, text_scale: float = 0.5, text_thickness: int = 1, text_padding: int = 10,