未定义标识符SurfFeatureDetector

添加头文件

#include <opencv2/xfeatures2d.hpp>

还有添加命名空间

using namespace cv::xfeatures2d;

猜你喜欢

转载自blog.csdn.net/nobodyaha/article/details/109078327