当前位置:网站首页>Introduction to opencv (I): image reading and display
Introduction to opencv (I): image reading and display
2022-06-30 08:00:00 【Wheat field CR7】
#include <opencv2/opencv.hpp>
#include <iostream>
using namespace cv;
using namespace std;
int main()
{
Mat src = imread("D:/images/age_gender.jpg",IMREAD_GRAYSCALE);// The second parameter is optional , Display in color format by default
if (src.empty())
{
printf("Can't load image\n");
}
namedWindow("InPut",WINDOW_FREERATIO);
imshow("InPut", src);
waitKey(0); // Unit millisecond 0 Unlimited waiting for user cases
destroyAllWindows();
}
边栏推荐
- Analysis of cross clock transmission in tinyriscv
- 跳槽字节跳动很难嘛?掌握这些技巧,你也能轻松通过
- At the end of June, you can start to make preparations, otherwise you won't have a share in such a profitable industry
- Lodash filter collection using array of values
- Cadence innovus physical implementation series (I) Lab 1 preliminary innovus
- Introduction notes to pytorch deep learning (10) neural network convolution layer
- Cross compile opencv3.4 download cross compile tool chain and compile (3)
- Use of nested loops and output instances
- 2021.11.20 [reading notes] | differential variable splicing events and DTU analysis
- Deep learning - goal orientation
猜你喜欢

回文子串、回文子序列

Deep learning - brnn and DRNN

深度学习——网络中的网络以及1x1卷积
![2021-10-29 [microbiology] qiime2 sample pretreatment form automation script](/img/4d/3a3d645a27c3561c3ebe20dcd8e142.jpg)
2021-10-29 [microbiology] qiime2 sample pretreatment form automation script

深度学习——循环神经网络

Acreems energy efficiency management platform escorts the power safety of high-rise residential areas

Lexicographic order -- full arrangement in bell sound

Final review -php learning notes 3-php process control statement
![February 14, 2022 [reading notes] - life science based on deep learning Chapter 2 Introduction to deep learning (Part 1)](/img/ff/e4df5a66cda74ee0d71015b7d1a462.jpg)
February 14, 2022 [reading notes] - life science based on deep learning Chapter 2 Introduction to deep learning (Part 1)

Combinatorial mathematics Chapter 2 Notes
随机推荐
深度学习——语言模型和序列生成
Redis 的过期数据如何处理,淘汰机制都有那些?
2021-10-29 [microbiology] a complete set of 16s/its analysis process based on qiime2 tool (Part I)
奇迹MU服务器租用选择 真实好用 稳定不卡 还能防入侵
Lodash filter collection using array of values
领域驱动下cloud项目中单个服务的示例
Permutation and combination of probability
深度学习——词汇表征
期末复习-PHP学习笔记1
【花雕体验】14 行空板pinpong库测试外接传感器模块(之一)
mysql无法连接内网的数据库
Halcon12+vs2013 C # configuration
深度学习——卷积的滑动窗口实现
6月底了,可以开始做准备了,不然这么赚钱的行业就没你的份了
深度学习——目标定位
Deep learning - embedding matrix and learning word embedding andword2vec
Network security and data in 2021: collection of new compliance review articles (215 pages)
Construction of energy conservation supervision system for campus buildings of ankery University
Introduction notes to pytorch deep learning (11) neural network pooling layer
Use of nested loops and output instances