FeatureDetector::create'"SURF" and DescriptorExtractor::create("SURF") return empty objects (Bug #1820)
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
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