https://machinelearningmastery.com/k-means-clustering-for-image-classification-using-opencv/