From 46ac1812d80107f8ebd8df06ca08295572d2a7ed Mon Sep 17 00:00:00 2001 From: Bhavay Malhotra Date: Wed, 17 Jul 2024 20:13:24 +0530 Subject: [PATCH] Changed rgb to bgr --- 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 57bf1573..4d9eb548 100644 --- a/supervision/annotators/core.py +++ b/supervision/annotators/core.py @@ -1152,7 +1152,7 @@ class LabelAnnotator(BaseAnnotator): org=(text_x, text_y), fontFace=font, fontScale=self.text_scale, - color=self.text_color.as_rgb(), + color=self.text_color.as_bgr(), thickness=self.text_thickness, lineType=cv2.LINE_AA, )