create' : is not a member of 'cv::Algorithm'
Hi all, I am having a problem with the cv::Algorithm.create line.
This line of code:
Ptr<Feature2D> surf = Algorithm::create<Feature2D>("Feature2D.SURF");
gives me the following error:
Error 7 error C2039: 'create' : is not a member of 'cv::Algorithm'
Please help! this is driving me insane. Windows 8, visual studio 2013, opencv 3.0
to be more specific, this is code from MRPT examples. http://www.mrpt.org/
I have added initModule_nonfree() as explained in the docs, but to no effect.