First time here? Check out the FAQ!
answered 2012-08-21 13:29:22 -0600
Use the flann module. knnSearch function allows you to find k nearest matches. See docs:
http://docs.opencv.org/modules/flann/doc/flann_fast_approximate_nearest_neighbor_search.html