作者:Samuel Messner
作者邮箱:powpowd@gmail.com
首页:https://github.com/obskyr/colorgram.py
文档:None
下载链接 https://github.com/obskyr/colorgram.py/tarball/v1.2.0
colorgram.py
colorgram.py is a Python library that lets you extract colors from images. Compared to other libraries, the colorgram algorithm's results are more intense.
colorgram.py is a port of colorgram.js , a JavaScript library written by GitHub user @darosh . The goal is to have 100% accuracy to the results of the original library (a goal that is met). I decided to port it since I much prefer the results the colorgram algorithm gets over those of alternative libraries - have a look in the next section.
Results
.. image:: http://i.imgur.com/BeReaRM.png :alt: Results of colorgram.py on a 512x512 image
Time-wise, an extraction of a 512x512 image takes about 0.66s (another popular color extraction librar