当前位置:网站首页>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 - LSTM
- Examen final - notes d'apprentissage PHP 5 - Tableau PHP
- Want to ask, how to choose securities companies for stock speculation? Is it safe to open an account online?
- Tue Jun 28 2022 15:30:29 GMT+0800 (中国标准时间) 日期格式化
- 跳槽字节跳动很难嘛?掌握这些技巧,你也能轻松通过
- 微信小程序使用vant weapp报错
- Introduction notes to pytorch deep learning (11) neural network pooling layer
- 深度学习——词汇表征
- The counting tool of combinatorial mathematics -- generating function
- JS code case
猜你喜欢
Halcon12+vs2013 C # configuration
鲸探NFT数字臧品系统开发技术分享
跳槽字节跳动很难嘛?掌握这些技巧,你也能轻松通过
Use of nested loops and output instances
Permutation and combination of probability
期末复习-PHP学习笔记5-PHP数组
期末复习-PHP学习笔记2-PHP语言基础
【花雕体验】12 搭建ESP32C3之Arduino开发环境
342 maps covering exquisite knowledge, one of which is classic and pasted on the wall
全栈最全性能测试理论-总结
随机推荐
AcrelEMS能效管理平台为高层小区用电安全保驾护航
Development technology sharing of Jingtan NFT digital collection system
Introduction notes to pytorch deep learning (XII) neural network - nonlinear activation
At the age of 25, I started to work in the Tiankeng industry with buckets. After going through a lot of hardships to become a programmer, my spring finally came
November 9, 2020 [wgs/gwas] - whole genome analysis (association analysis) process (Part 2)
2021-10-27 [WGS] pacbio third generation methylation modification process
Tue Jun 28 2022 15:30:29 GMT+0800 (中国标准时间) 日期格式化
NMOS model selection
Deep learning - bounding box prediction
Investment and financing analysis report of Supply Chain & logistics industry in 2021
Solve the linear equation of a specified point and a specified direction
Deep learning - LSTM
Personal blog one article multi post tutorial - basic usage of openwriter management tool
Acreems energy efficiency management platform escorts the power safety of high-rise residential areas
深度学习——网络中的网络以及1x1卷积
Program acceleration
mysql无法连接内网的数据库
November 19, 2021 [reading notes] a summary of common problems of sneakemake (Part 2)
深度学习——嵌入矩阵and学习词嵌入andWord2Vec
Use of nested loops and output instances