Implementing SURF using iplimage in opencv and c++ unresolved externals
'm facing a problem with implementing SURf using Mat because of heap, so I tried to use iplimage. I used the code of this guy SURF using iplimage I've got errors:
unresolved external symbol _cvExtractSURF unresolved external symbol _cvSURFParams
I added these
#include "opencv2/nonfree/features2d.hpp"
#include "opencv2/highgui/highgui.hpp"
#include "opencv2/nonfree/nonfree.hpp"
#include <opencv2/legacy/legacy.hpp>
with cv::initModule_nonfree();
in main but it didnt work. does anyone know what is the problem ?
You are trying to execute C-API code using the C++ include headers. That will never work. I suggest leaving those IplImages and C-API. Show us your non working C++ and Mat code and we will help you out there with problems. The C-API is depricated and will disappear soon!
this link contains a code for real time surf using mat https://github.com/doczhivago/rtObjectRecognition/blob/master/main.cpp
it gives me heap corruption exception or memory location exception
it gives me heap exception or memory location exception
did you check that csv ? is it working fine with the code ? and did you check the path of your images ?