Using python and k-means to find the dominant colors in images October 23, 2012 17:23 / algorithms python / 17 comments I'm working on a little photography website for my Dad and thought it would be neat to extract color information from photographs. I tried a couple of different approaches before finding one that works pretty well. This approach uses k-means clustering to cluster the pixels in gr