I want to do Kmeans clustering with OpenCV

Job ID: 34391054

Budget: $30 – $250 USD

Hello,

I am looking for an OpenCV and Machine Learning expert with Python experience for a very very simple task.

The goal is to create a 3d histogram using OpenCV (see hist.py) for each image in the red folder and the blue folder and green folder. Once the histograms are made, you must use kmeans clustering to classify them.

The real challenge here is to take the output of cv.Hist and making it a suitable input for cv.kmeans.

Pseudo code for final script.

Loads each file and convert to a 3d histogram.
Collect all histograms into a list.
Perform kmeans clustering on histograms to get a label for each histogram.
Show each image with label written on it.

The result should be a script that implements the above.


Files supplied......

hist.py - This shows you how to make a histogram and display it. Please use 3D histogram, not 1D.
kmeans.py - This shows you how to do kmeans clustering.
Red/Green/Blue - Samples images to perform histogram clustering on.