#include <opencv2\opencv.hpp>
#include <opencv2\xfeatures2d\nonfree.hpp>
#include <iostream>
using namespace cv;
using namespace cv::xfeatures2d;
using namespace std;
int main()
{
Mat img1 = imread("G:\\vspro\\1.jpg", IMREAD_GRAYSCALE);
Mat img2 = imread("G:\\vspro\\2.jpg", IMREAD_GRAYSCALE);
if (!img1.data || !img1.data)
{
printf("could not load image...\n");
Ptr<SURF> detector = SURF::create(minHessian);出错!!!求助
最新推荐文章于 2022-12-18 23:58:53 发布