Fixed `box_label` docstrings (#14866)

Co-authored-by: dearMOMO <34231503+dearMOMO@users.noreply.github.com>
pull/14889/head
Francesco Mattioli 4 months ago committed by GitHub
parent bdc7176fe4
commit 229ec67879
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      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
"""

Loading…
Cancel
Save