first init
This commit is contained in:
15
start/read.cpp
Normal file
15
start/read.cpp
Normal file
@@ -0,0 +1,15 @@
|
||||
// 读取图像
|
||||
|
||||
#include<opencv2/opencv.hpp>
|
||||
#include<iostream>
|
||||
|
||||
using namespace std;
|
||||
using namespace cv;
|
||||
|
||||
int main(){
|
||||
Mat src = imread("/home/bi/下载/1.png");
|
||||
imshow("input",src);
|
||||
waitKey(0);
|
||||
destroyAllWindows();
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user