Ask Your Question

Revision history [back]

Problem with SURF_FlannMatcher.cpp tutorial.

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