Chroma icon indicating copy to clipboard operation
Chroma copied to clipboard

Color detection in images

Open seenaburns opened this issue 12 years ago • 0 comments

Basic idea is to implement something along the lines of Charles Leifer's "Using python and k-means to find the dominant colors in images."

I've run into some bugs using the exact code in this article, and issues with K-Means returning muddy results (as expected, but possibly not desired). The functionality is there, but perhaps it could be enhanced, also taking from colorific.

Note: PIL will probably be required, but it the color detection can be left in it's own file and not force imported to leave PIL as an optional library for the rest of Chroma.

seenaburns avatar Jan 17 '13 07:01 seenaburns