Problem with SURF_FlannMatcher.cpp tutorial.

asked 2015-05-01 08:36:59 -0500

WJS gravatar image

I have successfully built [debug build] and tested most of the tutorials prior to “6.9 Feature Matching with FLANN”. This one compiles ok but crashes with “unhandled exception” when executing the second extractor.compute(img_2, keypoints_2, descriptors_2); statement under step 2 of the demo code. The first extractor.compute executes ok. The debugger stack trace shows the problem is somewhere inside the opencv_features2d2410d.dll. I can provide more info through some screen shots if anyone is interested. Has anyone else had this problem and what is the fix? I took a fast look at the version 3.0 change list but didn’t see any current bug fixes directly related to this particular problem. I’m using Microsoft visual studio 2010 and my project is set up locally. I’m using the opencv pre-built debug libs from ..\x86\vc10\lib and the debug DLLs from ..\x86\vc10\bin. WJS

edit retag flag offensive close merge delete

Comments

Post the images you used as everyone could test. Link to the code you used.

Maybe it is a problem when decoding the image or with image path ?

Eduardo gravatar imageEduardo ( 2015-05-01 17:28:39 -0500 )edit

Eduardo, your link to the code I used is good. I also used your files box.png and box_in_scene.png obtained from .../sources/samples/c from my 2.4.10 install. WJS

WJS gravatar imageWJS ( 2015-06-23 11:45:06 -0500 )edit