def METHOD_NAME(text, box: BoundingBoxDTO, color):
    img_draw.rectangle(box.xy, outline=color, width=box_line_width)
    img_draw.text(text=text,
                  xy=(box.x_min, box.y_min - font_size - 1),
                  fill=color, font=_get_font(font_size))
    img_draw.text(text=f"{box.probability:.4f}",
                  xy=(box.x_min, box.y_max + 1),
                  fill=color, font=_get_font(font_size_smaller))