Fixed box_label docstrings (#14866)

Co-authored-by: dearMOMO <34231503+dearMOMO@users.noreply.github.com>
This commit is contained in:
Francesco Mattioli 2024-08-01 12:59:40 +02:00 committed by GitHub
parent bdc7176fe4
commit 229ec67879
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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
"""