Comment on I tested services to extract colors from imageparentComments−geysersam3yNitpick about the counting. It's actually even easier! from collections import Counter def most_common_colors(pixels, n): return Counter(pixels).most_common(n)
Comments
Nitpick about the counting. It's actually even easier!