当前位置:网站首页>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();
}
边栏推荐
- Deep learning - embedding matrix and learning word embedding andword2vec
- 想转行,却又不知道干什么?此文写给正在迷茫的你
- Examen final - notes d'apprentissage PHP 5 - Tableau PHP
- Deep learning - residual networks resnets
- Go 数据类型篇之基本数据类型之间的转化
- MySQL quotation sentence is unlocked: algorithm=insert, lock=none
- 2021-10-29 [microbiology] a complete set of 16s/its analysis process based on qiime2 tool (Part I)
- 架构实战营模块 5 作业
- 小程序使用二维码插件
- Deep learning -- language model and sequence generation
猜你喜欢

Introduction notes to pytorch deep learning (11) neural network pooling layer
![2021-10-29 [microbiology] a complete set of 16s/its analysis process based on qiime2 tool (Part I)](/img/9d/37c531b1b439770f69f715687685f5.jpg)
2021-10-29 [microbiology] a complete set of 16s/its analysis process based on qiime2 tool (Part I)
![2022.01.20 [bug note] | qiime2: an error was encoded while running dada2 in R (return code 1)](/img/c0/2c5efdbefd6f9b591541b1204c3ea2.jpg)
2022.01.20 [bug note] | qiime2: an error was encoded while running dada2 in R (return code 1)

深度学习——语言模型和序列生成

mysql无法连接内网的数据库

Simple application of generating function -- integer splitting 2

The counting tool of combinatorial mathematics -- generating function

领域驱动下cloud项目中单个服务的示例

微信小程序使用vant weapp报错

Efga design open source framework fabulous series (I) establishment of development environment
随机推荐
Calculate Euler angle according to rotation matrix R yaw, pitch, roll source code
ACM. HJ48 从单向链表中删除指定值的节点 ●●
What management improvements can CRM bring to enterprises
Deep learning - LSTM
Is it difficult to jump job ByteDance? With these skills, you can easily pass
深度学习——卷积的滑动窗口实现
C. Fishingprince Plays With Array
Analysis of cross clock transmission in tinyriscv
Tencent and Fudan University "2021-2022 yuan universe report" with 102 yuan universe collections
Tue Jun 28 2022 15:30:29 gmt+0800 (China standard time) date formatting
MySQL cannot connect to the intranet database
想转行,却又不知道干什么?此文写给正在迷茫的你
Efga design open source framework fabulous series (I) establishment of development environment
November 22, 2021 [reading notes] - bioinformatics and functional genomics (Chapter 5, section 4, hidden Markov model)
C. Fishingprince Plays With Array
Deep learning -- using word embedding and word embedding features
Projection point of point on line
HelloWorld
鲸探NFT数字臧品系统开发技术分享
【JUC系列】Fork/Join框架之概览