Mani
Mani

Reputation: 11

Error KAZE with opencv: Use of undeclared identifier

I tried to compile a function for extracting the features. Ptr<Feature2d> kaze = KAZE::create(); But I get an errors with that. First is "Use of undeclared identifier 'KAZE'" The next line is kaze->detectAndCompute(img, noArray(), keypoints, descriptors);. There it is said: "No member named 'detectAndCompute' in 'cv::Feature2D'". I have included the header#include <opencv2/features2d/features2d.hpp>and I also linked the libs. I don't know what is wrong.

Upvotes: 0

Views: 520

Answers (0)

Related Questions