0

我试图编译一个函数来提取特征。 Ptr<Feature2d> kaze = KAZE::create(); 但我得到了一个错误。首先是“使用未声明的标识符'KAZE'”下一行是kaze->detectAndCompute(img, noArray(), keypoints, descriptors);。据说:“'cv::Feature2D'中没有名为'detectAndCompute'的成员”。我已经包含了标题#include <opencv2/features2d/features2d.hpp>,我还链接了库。我不知道出了什么问题。

4

0 回答 0