Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 505 Bytes

File metadata and controls

19 lines (12 loc) · 505 Bytes

K Means Clustering Practice

This is a repo where I've attempted to use the Kmeans clustering method to create a colour palette from an image.

Examples:

Input image like so : alt text

Output image like so : alt text

Usage: kmeans -input assets/example_three.png -output test

I learned this by reading the wikipedia article here: https://en.wikipedia.org/wiki/K-means_clustering

  • as of 20/06/22 I am making this comment to complete the gh yolo merge