Replies: 3 comments 1 reply
-
Hi, @dearMOMO 👋🏻 Let me confirm this issue into discussion first. |
Beta Was this translation helpful? Give feedback.
0 replies
-
@dearMOMO could you explain what you mean by dynamically? Will you use completely different colors for every image/frame of the video? |
Beta Was this translation helpful? Give feedback.
1 reply
-
ultralytics示例
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Search before asking
Question
I don't want to default these colors, I want to dynamically generate colors instead of manually specifying fixed colors below, what should I do. Thank you! 🙏🏻
ultralytics_file_example.py
COLORS = sv.ColorPalette.from_hex(["#E6194B", "#3CB44B", "#FFE119", "#3C76D1"])
COLOR_ANNOTATOR = sv.ColorAnnotator(color=COLORS)
LABEL_ANNOTATOR = sv.LabelAnnotator(
color=COLORS, text_color=sv.Color.from_hex("#000000")
)
Additional
No response
Beta Was this translation helpful? Give feedback.
All reactions