Closed celtric closed 10 years ago
Hi. The algorithm I use doesn't consider the background apart but light grayscales get a very low score. You can test on a Coca-Cola logo, red will always be returned first.
Ah, I see. I'll extend the class then and only look for the outside coordinates, while using the algorithm. Thanks!
Would it be possible to get the main color of top/right/bottom/left sides of an image?
For example, you have a logo and want to match the background automatically with the outside of the logo (if I'd have a Coca-Cola logo, I'd want to use red, not white, even though white might be used more).