FeatureDetector::create'"SURF" and DescriptorExtractor::create("SURF") return empty objects (Bug #1820)


Added by mathieu letombe almost 13 years ago. Updated almost 13 years ago.


Status:Cancelled Start date:2012-04-18
Priority:Normal Due date:
Assignee:Vadim Pisarevsky % Done:

0%

Category:nonfree
Target version:2.4.0
Affected version: Operating System:
Difficulty: HW Platform:
Pull request:

Description

With the sample file descriptor_extractor_matcher.cpp, with the args: SURF SURF BruteForce NoneFilter im1.jpg im2.jpg 3.
I tried with #include "opencv2/features2d/features2d.hpp", #include "opencv2/nonfree/nonfree.hpp", and both of them, I included opencv_nonfree240d.lib,

but no way...


Associated revisions

Revision 4746a710
Added by Roman Donchenko over 11 years ago

Merge pull request #1820 from asmorkalov:android_native_camera_44

History

Updated by Yvonnic MM almost 13 years ago

Do you build OpenCV statically ?
If yes, do you see the known issue in ChangeLog:

When OpenCV is built statically, dynamically created classes (via Algorithm::create) can fail because linker excludes the "unused" object files. To avoid this problem, create classes explicitly, e.g
Ptr<DescriptorExtractor> d = new BriefDescriptorExtractor;

Updated by mathieu letombe almost 13 years ago

I didn't build opencv, I used the win v10 libs and Dlls, under vc10 win xp 32 bits.

Updated by Vadim Pisarevsky almost 13 years ago

call initModule_nonfree() before creating SURF detector/descriptor extractor.

  • Status changed from Open to Cancelled
  • Target version set to 2.4.0
  • Category set to nonfree
  • Assignee set to Vadim Pisarevsky

Also available in: Atom PDF