Charles Leifer personal blog

Using python and k-means to find dominant colors in images

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 groups based on their color. The center…
Points
189
HN comments
31
Submissions
1
Cited by
0 commenters

Databases & DataAI & Machine Learning2012

On Hacker News

SubmittedTitle on HNPointsComments
Oct 24, 2012Using python and k-means to find dominant colors in images by coleifer18931

More from Charles Leifer

All 5 posts →

Related posts from the same era