K-Means Clustering for Image Classification Using OpenCV

In a previous tutorial, we explored using the k-means clustering algorithm as an unsupervised machine learning technique that seeks to group similar data into distinct clusters to uncover patterns in the data. 

So far, we have seen how to apply the k-means clustering algorithm to a simple two-dimensional dataset containing distinct clusters and the problem of image color quantization. 

In this tutorial, you will learn how to apply OpenCV’s k-means clustering algorithm for image classification. 

After completing this tutorial, you will know:

  • Why k-means clustering can be applied to image classification. 
  • Applying the k-means clustering algorithm to the digit dataset in OpenCV for image classification. 
  • How to reduce

     

     

    To finish reading, please visit source site