joelfinz / kpalette

KMeans clustering alogithm that extracts the color palette out of an image.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

kpalette

KMeans clustering algorithm that extracts color palette out of an image.

Dependencies

  1. OpenCV
  2. Scikit-learn
  3. Matplotlib

Usage

python kpalette.py <FULL_PATH_TO_IMAGE>

Note

This program is currently still being worked on. There is still a lot of feature that is missing. Will update README.md as more features are added.

References

  1. https://buzzrobot.com/dominant-colors-in-an-image-using-k-means-clustering-3c7af4622036
  2. https://medium.com/@sitianliu_57680/how-to-pick-the-optimal-color-palette-from-any-image-ef1342da8b4f
  3. https://stackoverflow.com/ - :)

About

KMeans clustering alogithm that extracts the color palette out of an image.


Languages

Language:Python 100.0%