SkalskiP commited on
Commit
57700a8
1 Parent(s): 2fbf361

label text color updated

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -34,6 +34,7 @@ BOX_ANNOTATOR = sv.BoxAnnotator(color_lookup=sv.ColorLookup.INDEX)
34
  LABEL_ANNOTATOR = sv.LabelAnnotator(
35
  color_lookup=sv.ColorLookup.INDEX,
36
  text_position=sv.Position.CENTER_OF_MASS,
 
37
  border_radius=5
38
  )
39
  MASK_ANNOTATOR = sv.MaskAnnotator(color_lookup=sv.ColorLookup.INDEX)
 
34
  LABEL_ANNOTATOR = sv.LabelAnnotator(
35
  color_lookup=sv.ColorLookup.INDEX,
36
  text_position=sv.Position.CENTER_OF_MASS,
37
+ text_color=sv.Color.BLACK,
38
  border_radius=5
39
  )
40
  MASK_ANNOTATOR = sv.MaskAnnotator(color_lookup=sv.ColorLookup.INDEX)