FeatureDetector::create does't work with SIFT and SURF (Bug #2670)
Description
cv::FeatureDetector::create("SIFT") and cv::FeatureDetector::create("SURF") return null pointers.
History
Updated by Maria Dimashova about 12 years ago
You should check that you included opencv2/nonfree/nonfree.hpp and called cv::initModule_nonfree() (see the answer on the similar question here http://answers.opencv.org/question/411/feature-detector-crash/#420 or http://answers.opencv.org/question/3630/the-detect-feature-of-siftsurf-always-breaks-code/#3636). Please reopen the issue if this will not help you.
- Status changed from Open to Cancelled
- Target version set to 2.4.4
Updated by Alexander Cheparukhin about 12 years ago
That helped, thank you! Didn't know about cv::initModule_nonfree(), I think this should be written in docs.
Updated by Kirill Kornyakov about 12 years ago
Alexander Cheparukhin wrote:
Didn't know about cv::initModule_nonfree(), I think this should be written in docs.
Sure, this is where you may make OpenCV more user friendly :-) It would be great if you could prepare a pull request with such an improvement for the documentation!
- Affected version set to 2.4.3