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.
python dominant_colors.py --img_path path/to/your/img/ --color_count 4
If you encounter issues or have suggestions for improvements, please report them on the GitHub repository 🚀.
This project is licensed under the MIT License.