欢迎使用Markdown编辑器写博客
在OpenCV编写程序实现以下功能:
- 读入图像
- 设置图像大小
- 按键移动图像位置
实现代码
#include "opencv2/core/core.hpp"
#include "opencv2/imgproc/imgproc.hpp"
#include "opencv2/highgui/highgui.hpp"
#include <iostream>
#include <ctype.h>
using namespace cv;
using namespace std;
int main(int argc,