Ask Your Question

Revision history [back]

OpenCV BOWKmeans and SVM

Hi,

I have question about using KMeans with SVM. I want to use not labeled, at least not labeled by user, data with SVM. Therefore I setup a dictionary with BowKMeans. But I could not figure out how to combine it with SVM in OpenCV. Can anyone guide me how to do that?

My code is adapted from here and I also eximined this link but could not understand how to do.

OpenCV BOWKmeans and SVM

Hi,

I have question about using KMeans with SVM. I have implemented an algorithm that extracts desired ROI from video frame with %80 accuracy. The original paper use geometrical approach to decide whether candidate region is a desired region or not desired one. In my school project, I want to improve that geometrical refinment part with local feature based refinment methods. Therefore I want to use both unsupervised and supervised learning methods on extracted ROI to see that it can be improved or not labeled, at least by local features. My desired output is to give an answer to is that desired ROI or not labeled by user, data with SVM. Therefore higher accuracy.

So I setup a dictionary with BowKMeans. But I could not figure out how to combine it with SVM in OpenCV. Can anyone guide me how to do that?

My code is adapted from here and I also eximined this link but could not understand how to do.