Skip to content

Determine KMEANS , average axis etc. color of an Image

License

Notifications You must be signed in to change notification settings

moehmeni/picolor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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