#include <opencv2/opencv.hpp>
#include <iostream>
using namespace std;
using namespace cv;
int main(int argc, const char** argv)
{
Mat src = imread("E:/picture/9.jpg");
if (src.empty())
{
cout << "could not find picture" << endl;
return -1;
}
imshow("input", src);
waitKey(0);
destroyAllWindows();
return 0;
}
opencv图像的读入与输出(c++)
最新推荐文章于 2024-09-14 21:33:09 发布