LSH matching save and load

asked 2016-05-21 02:52:19 -0600

nawara gravatar image

Hi;

I'm using LSH for binary descriptor matching In order to save the processing time ; I would to perform the training step at once and save the index in a file for the next query.

How can do that ? Should I use the save/load of the FlannBasedMatcher class ? How ?

cv::Ptr<cv::flann::indexparams> indexParams = new cv::flann::LshIndexParams(20, 10, 2); FlannBasedMatcher matcher(indexParams);

edit retag flag offensive close merge delete