generated from roboflow/template-python
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[LabelAnnotator, RichLabelAnnotator, VertexLabelAnnotator] - allow text_color
to be Union[Color, ColorPalette]
#1384
Labels
Comments
SkalskiP
changed the title
[LabelAnnotator, RichLabelAnnotator] - allow
[LabelAnnotator, RichLabelAnnotator, VertexLabelAnnotator] - allow Jul 19, 2024
text_color
to be Union[Color, ColorPalette]
text_color
to be Union[Color, ColorPalette]
Hi @SkalskiP, you can assign this to me. I'll take a look over thr weekend. |
@Bhavay-2001 Done ✅ |
4 tasks
The expected change was added to |
Sure |
@Bhavay-2001 thank you ;) |
4 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Description
LabelAnnotator
,RichLabelAnnotator
, andVertexLabelAnnotator
currently allow defining the background color asUnion[Color, ColorPalette]
. When the background color is a singleColor
, all boxes are drawn with the same color. If the background color is aColorPalette
, the detection index, class_id, or tracker_id is mapped to the corresponding color from the palette. Unfortunately, this functionality is not currently available fortext_color
.Update
LabelAnnotator
,RichLabelAnnotator
, andVertexLabelAnnotator
to enable definingtext_color
asUnion[Color, ColorPalette]
and implement the same mechanism as for the background color.Additional
The text was updated successfully, but these errors were encountered: