首页 > 其他 > 详细

opencv+codeblocks

时间:2019-04-22 23:03:04      阅读:147      评论:0      收藏:0      [点我收藏+]

 

study from : 

https://www.jianshu.com/p/c16b7c870356

 

 1 #include <cstdio>
 2 #include <cstdlib>
 3 #include <cmath>
 4 #include <cstring>
 5 #include <string>
 6 #include <algorithm>
 7 #include <set>
 8 #include <map>
 9 #include <queue>
10 #include <iostream>
11 #include <opencv2\core\core.hpp>
12 #include <opencv2\highgui\highgui.hpp>
13 #include <opencv2\imgproc\imgproc.hpp>
14 using namespace std;
15 using namespace cv;
16 
17 #define ll long long
18 
19 const int maxn=1e4+10;
20 const int inf=1e9;
21 const double eps=1e-8;
22 
23 
24 
25 int main()
26 {
27     Mat img=imread("C:\\Users\\scientific\\Desktop\\test.jpg"); //两个‘\‘
28     imshow("test",img);
29     waitKey(0);
30     return 0;
31 }
32 /*
33 
34 */

 

opencv+codeblocks

原文:https://www.cnblogs.com/cmyg/p/10753563.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!