erax commited on
Commit
d2b29d9
·
verified ·
1 Parent(s): f3ee0fd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -57,6 +57,7 @@ def yolov8_inference(
57
  # )
58
 
59
  label_annotator = sv.LabelAnnotator(text_color=sv.Color.BLACK,
 
60
  text_scale=anchor/1700)
61
  annotated_image = label_annotator.annotate(
62
  annotated_image,
 
57
  # )
58
 
59
  label_annotator = sv.LabelAnnotator(text_color=sv.Color.BLACK,
60
+ text_position=sv.Position.CENTER,
61
  text_scale=anchor/1700)
62
  annotated_image = label_annotator.annotate(
63
  annotated_image,