surface matching not working [closed]

asked 2016-02-03 09:47:26 -0500

patrycja_b gravatar image

updated 2016-02-04 06:39:45 -0500

Hi,

I'm trying to run surface matching module (http://docs.opencv.org/3.0-beta/modul...), 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?

I am using MSVS2013 and OpenCV 3.0

Cheers!

EDITI found an answer here https://github.com/Itseez/opencv_cont....

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by sturkmen
close date 2017-11-25 17:04:22.154137

Comments

What kind of change did you make?

Joy Mazumder gravatar imageJoy Mazumder ( 2018-10-20 14:59:30 -0500 )edit