#include <opencv2/opencv.hpp>
#include<opencv2/core/core.hpp>
#include<opencv2/highgui/highgui.hpp>
#include<opencv2/imgproc/imgproc.hpp>
#include <opencv2/calib3d/calib3d.hpp>
#include < fstream>
#include < string>
#include < iostream>
#include < string>
#include < math.h>
using namespace std;
using namespace cv;
using namespace std;
using namespace cv;
int main(){
Mat image = imread(“elephant.jpg”);
if (image.empty())
{
cout << “读取图片错误” << endl;
}
waitKey();
return 0;
}
作者:IT_job
来源:CSDN
原文:https://blog.csdn.net/IT_job/article/details/78569262
版权声明:本文为博主原创文章,转载请附上博文链接!