From 229ec678790a5c6d8913ad3b0675cc545cface29 Mon Sep 17 00:00:00 2001 From: Francesco Mattioli Date: Thu, 1 Aug 2024 12:59:40 +0200 Subject: [PATCH] Fixed `box_label` docstrings (#14866) Co-authored-by: dearMOMO <34231503+dearMOMO@users.noreply.github.com> --- ultralytics/utils/plotting.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ultralytics/utils/plotting.py b/ultralytics/utils/plotting.py index f000a8c50..74ca940cf 100644 --- a/ultralytics/utils/plotting.py +++ b/ultralytics/utils/plotting.py @@ -280,7 +280,7 @@ class Annotator: Args: box (tuple): The bounding box coordinates (x1, y1, x2, y2). label (str): The text label to be displayed. - color (tuple, optional): The background color of the rectangle (R, G, B). + color (tuple, optional): The background color of the rectangle (B, G, R). txt_color (tuple, optional): The color of the text (R, G, B). rotated (bool, optional): Variable used to check if task is OBB """