xfeatures2d::SIFT::create()报错

Ptr detector1 = xfeatures2d::SIFT::create(128);这行代码报错

报错信息:

xfeatures2d::SIFT::create()报错_第1张图片

 解决办法:去掉 xfeatures2d::

    //Ptr detector1 = xfeatures2d::SIFT::create(128);
    Ptr detector1 = SIFT::create(128);

 

你可能感兴趣的:(opencv,opencv)