-
Notifications
You must be signed in to change notification settings - Fork 109
Closed
Description
In object detection and segmentation, we have to color bounding boxes and color fills once we get beyond binary labels. We should be colorblind-friendly when choosing those colors.
Options so far:
- Colorbrewer2, which had a previous python implementation called brewer2mpl and is now Palettable
- Optimized color palette by Paul Tol
- Tableau 10 color palette that is color blind friendly and was recently added to matplotlib. Hex vals are available in the PR.
The most complete solution would be to find/write a function that takes number of colors as input, and spits back an idealized list of RGB/Hex vals. This might be overkill though -- a simpler solution would be to cycle through a fixed set of colors that are known to be color blind friendly (like Tableau 10 or something analogous). The latter solution is also nice because we won't add a dependency.
Metadata
Metadata
Assignees
Labels
No labels