Hi,
I'm trying to run surface matching module (http://docs.opencv.org/3.0-beta/modules/surface_matching/doc/surface_matching.html), downloaded from https://github.com/Itseez/opencv_contrib. For the beginning I use sample data from this website, but I get an error:
"Run-Time Check Failure #2 - Stack around the variable 'hashKey' was corrupted."
which is at the very beginning step - training:
string modelFileName = (string)argv[1];
string sceneFileName = (string)argv[2];
Mat pc = loadPLYSimple(modelFileName.c_str(), 1);
// Now train the model
cout << "Training..." << endl;
int64 tick1 = cv::getTickCount();
ppf_match_3d::PPF3DDetector detector(0.025, 0.05);
detector.trainModel(pc);
int64 tick2 = cv::getTickCount();
Does anyone know what's going on?
Cheers!