Skip to content

Finds the dominant colors in the image with the K-Means Clustering algorithm.

License

Notifications You must be signed in to change notification settings

yusufesatt/dominant-colors-visualizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Dominant Color Visualizer

It determines the 3 (default) most dominant colors in the image given as input with the K-Means Clustering algorithm.

The 3 colors found are given to the user as a visual output and the color codes are shown in RGB format on the colors in the visual output.

Add also the --color_count argument to specify the number of dominant colors found. If not added, 3 will be assigned by default.

Use Case:

python dominant_colors.py --img_path path/to/your/img/ --color_count 4

Contributing

If you encounter issues or have suggestions for improvements, please report them on the GitHub repository 🚀.

License

This project is licensed under the MIT License.

About

Finds the dominant colors in the image with the K-Means Clustering algorithm.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages