4 ms·
Great work. I'm working on palette determination on a project, so I'm curious- which algorithm/library did you use to parse the album covers?
by rsgong 13y ago
Great work. I'm working on palette determination on a project, so I'm curious- which algorithm/library did you use to parse the album covers?
- dhotson 13y agoThere are a few approaches for extracting colors from an image. Shameless plug: I helped write a library called colorific to do it: https://github.com/99designs/colorific https://github.com/99designs/colorific More about how it works here: http://99designs.com/tech-blog/blog/2012/05/11/color-analysis/ http://99designs.com/tech-blog/blog/2012/05/11/color-analysi... Clustering techniques can also work quite well: http://charlesleifer.com/blog/using-python-and-k-means-to-find-the-dominant-colors-in-images/ http://charlesleifer.com/blog/using-python-and-k-means-to-fi...
- rsgong 13y agoNice. The last point in your blog post on emphasizing saturated colors- that's the business.