Skip to content

kmeans clustering to show dominant colors in image using sklearn lib

Notifications You must be signed in to change notification settings

DarshNaik/kmeans-colors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

kmeans clustering to show dominant colors in image using sklearn lib

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages