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

How can I get the actual neighbours using knn in opencv 3.0.0

$
0
0
I'm trying to adapt code using opencv 2.4.6 to use opencv 3.0.0. In 2.4.6 I could use : find_nearest(const Mat& samples, int k, Mat* results=0, const float** neighbors=0, Mat* neighborResponses=0, Mat* dist=0 ) const to get the neighbors. How can I do it using opencv 3.0.0

Viewing all articles
Browse latest Browse all 41027

Trending Articles



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