Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 4615

VLFeat K-means: how to use in c++

$
0
0
I've read of VLFeat, which has an implementation of the algorithm of k-mean, which is faster than that of OpenCV, but do not understand how to readjust this code (in c++ and OpenCV) to use VLFeat. Mat rawFeaturesData; // mat with images dataset features ... Mat labels, centers; int bin_size = 1000; kmeans(rawFeatureData, bin_size, labels, TermCriteria( TermCriteria::COUNT+TermCriteria::EPS, 100, 1.0), 3, KMEANS_PP_CENTERS, centers); Could someone tell me how to do? Thank you.

Viewing all articles
Browse latest Browse all 4615

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>