Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

DescriptorExtractor::create() returns NULL pointer

I'm trying to instantiate a BRIEF Feature extractor:

cv::Ptr<cv::DescriptorExtractor> extractor = cv::DescriptorExtractor::create("BRIEF");

But the returned Ptr is empty (its owner and stored values are NULL).

Note that I have #include "opencv2/features2d/features2d.hpp" on the top of my code.

What's wrong?