/picolor

Determine KMEANS , average axis etc. color of an Image

Primary LanguagePythonMIT LicenseMIT

picolor

Determine KMEANS , average axis etc. color of an Image

Usage

from picolor import avg_color, kmeans_dominant_color
path_or_url = "<PATH_OR_URL>"
print(avg_color(path_or_url))
print(kmeans_dominant_color(path_or_url))

TODO

  • Provide more algorithms
  • More customization over the methods
  • Anything useful