by healsdata · 5y ago · 0 comments
https://alexbeals.com/projects/colorize/search.php?q=ketchup https://alexbeals.com/projects/colorize/search.php?q=solo+cu...
The results would definitely be closer to human expectations if run through something like https://www.remove.bg/ first.
1. classify the image
2. use word-net to figure out what "container" word is most closely associated with the image's classification
3. search the container word, and pull out its dominant colors
4. return the colors that are in the image but not in its classificatory container. Unless that set is empty (e.g. a polar bear in snow), in which case return the colors you'd have given without all these extra steps ;)