#include <opencv2/opencv.hpp>
#include <iostream>
using namespace std;
using namespace cv;
int main()
{
// 读入一张图片
Mat img = imread("D:\\Binocular ranging\\code\\img\\right1.jpg");
if (img.empty())
{
cout << "Can't read image" << endl;
return -1;
}
namedWindow("image");
imshow("D:\\Binocular ranging\\code\\img\\right1.jpg", img);
waitKey(6000);
return 0;
}