Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 596 Bytes

README.MD

File metadata and controls

23 lines (14 loc) · 596 Bytes

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/ - :)