#include <visp3/gui/vpDisplayOpenCV.h>
#include <visp3/io/vpImageIo.h>
#include <visp3/io/vpVideoReader.h>
#include <visp3/vision/vpKeyPoint.h>
int main()
{
#if (VISP_HAVE_OPENCV_VERSION >= 0x020101) && \
(defined(VISP_HAVE_OPENCV_NONFREE) || defined(VISP_HAVE_OPENCV_XFEATURES2D) || \
(VISP_HAVE_OPENCV_VERSION >= 0x030411 && CV_MAJOR_VERSION < 4) || (VISP_HAVE_OPENCV_VERSION >= 0x040400))
const std::string detectorName = "SIFT";
const std::string extractorName = "SIFT";
const std::string matcherName = "FlannBased";
vpKeyPoint keypoint(detectorName, extractorName, matcherName, filterType);
std::cout <<
"Reference keypoints=" << keypoint.
buildReference(I) << std::endl;
std::ostringstream oss;
std::cout << "Matches=" << nbMatch << std::endl;
for (unsigned int i = 0; i < nbMatch; i++) {
}
break;
}
#endif
return 0;
}