Changed rgb to bgr

This commit is contained in:
Bhavay Malhotra
2024-07-17 20:13:24 +05:30
parent 2b7cd6ab23
commit 46ac1812d8
+1 -1
View File
@@ -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,
)