Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 423 Bytes

README.md

File metadata and controls

17 lines (11 loc) · 423 Bytes

kmeans dominant colors

kmeans clustering to show dominant colors in image using sklearn lib

to run the program type in command line :

python .\color_kmeans.py --image <img_name> --clusters <no of clusters>

For example:

python .\color_kmeans.py --image images/sherlock.png --clusters 3

kmeans-1