矩形ROI截图,实时显示鼠标的坐标值,显示原图与截图C++程序

函数 //main.cpp文件 #include <opencv2/core/core.hpp> #include <opencv2/highgui/highgui.hpp> #include <stdio.h> using namespace cv; cv::Mat org, dst, img, tmp; void on_mouse(int event, int x, int y, int
相关文章
相关标签/搜索