Dominant colors in an image using k-means clustering Complete explaination and guide available at https://medium.com/buzzrobot/dominant-colors-in-an-image-using-k-means-clustering-3c7af4622036 Note that some minor changes were made to code after the blog was written.