#include<opencv2/opencv.hpp>
#include<opencv2/highgui.hpp>
#include<opencv2/imgproc.hpp>
#include<opencv2/core.hpp>
#include<math.h>
#include<iostream>
#include<vector>
using namespace std;
using namespace cv;
int main(int argc, char** argv)
{
Mat result;
Mat src = imread("mario.png", IMREAD_COLOR);
Mat templ = imread("cin.png", IMREAD_COLOR);
int match_method = TM_CCOEFF_NORMED
opencv多对象匹配-模板匹配算法c++实现
最新推荐文章于 2024-09-25 22:19:37 发布