How can Color Histogram perfomed on KNN to classify colors?

asked 2017-12-26 05:58:53 -0500

ahmetozlu gravatar image

General Topic: Color Matching Application by Feature Extraction with Classification

I decided to use "Color Histogram" and "K Nearest Neighbor" for classifying the colors.

I can get the image color histograms and I can deploy them in csv file with label to train KNN. This step is done! However, I can not figure out that how can send test image color histogram values to KNN for classifying it? There are a bunch of matrix values in test image color histogram. So my question is that how can send this point cloud (color histogram values of a test image) to KNN for classifying it?

edit retag flag offensive close merge delete


how did you obtain your train features ? you'll have to follow the same steps for testing

berak gravatar imageberak ( 2017-12-26 13:46:49 -0500 )edit