wakasann
6/19/2018 - 2:41 PM

study opencv3 11

显示一张图片

#include <opencv2/opencv.hpp>
#include <iostream>

using namespace std;
using namespace cv;

int main()
{
	Mat image = imread("1.jpg");  //存放自己图像的路径 
	imshow("显示图像", image);
	waitKey(0);
	return 0;
}