Spaces:
Running
on
Zero
Running
on
Zero
label text color updated
Browse files
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)
|