Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

the create method is static, you have to use it like:

 Ptr<SURF> detector = SURF::create();

the create method is static, you have to use it like:

 Ptr<SURF> Ptr<xfeatures2d::SURF> detector = SURF::create();
xfeatures2d::SURF::create();

the create method is static, you have to use it like:

 Ptr<xfeatures2d::SURF> Ptr<SURF> detector = xfeatures2d::SURF::create();
SURF::create();

the create method is static, you have to use it like:

 Ptr<SURF> detector = SURF::create();

also, you have to link to opencv_xfeatures2d320.lib