当前位置:网站首页>Imread change image display size
Imread change image display size
2022-07-03 10:59:00 【33-Hope】
Pretty simple , But not , It's been checked for a long time , sad , Write to yourself
int main()
{
Mat girl = imread("F:/VSMaven/LocateQr/Location/Location/phone.jpg", IMREAD_REDUCED_COLOR_2); // Load image to Mat
if (girl.empty()) {
printf(" No such picture , Please check that the path is correct ");
return -1;
}
else {
namedWindow("enhanced", 0);
resizeWindow("enhanced", 300, 400);// What's shown is 300*400 Size , Drag and drop
imshow("enhanced", girl);// The display name is "enhanced" The window of
}
waitKey(0);
return 0;
yes else The three sentences in , The size can be set by yourself
边栏推荐
- MySQL -- index principle + how to use
- 嵌入式軟件測試怎麼實現自動化測試?
- Basic usage of sqlmap
- 我,大厂测试员,降薪50%去国企,后悔了...
- Have you learned the new technology to improve sales in 2021?
- UI自动化测试如何走出困境?价值又如何体现?
- Promoted, colleagues become subordinates and don't cooperate with work
- 《通信软件开发与应用》
- Flink--自定义函数
- Differences among norm, normalize and normalized in eigen
猜你喜欢

Data captured

使用ML.NET+ONNX预训练模型整活B站经典《华强买瓜》

公司测试部门来了个00后卷王之王,老油条感叹真干不过,但是...

如何在游戏中制作一个血条

Programming examples of stm32f1 and stm32subeide -tm1637 drives 4-bit 7-segment nixie tubes

如何监测服务器主机的进出流量?

QT:QSS自定义 QTreeView实例

After 8 years of industry thinking, the test director has a deeper understanding of test thinking

Multiple IO transfer - preamble

Unity group engineering practice project "the strongest takeaway" planning case & error correction document
随机推荐
测试Leader应该做哪些事
QT:QSS自定义 QSpinBox实例
“测试人”,有哪些厉害之处?
Qt:qss custom qpprogressbar instance
How to realize automatic testing in embedded software testing?
QT:QSS自定义QGroupBox实例
大型电商项目-环境搭建
软件测试必学基本理论知识——APP测试
QT:QSS自定义 QStatusBar实例
QT: QSS custom qtableview instance
Win10系统下提示“系统组策略禁止安装此设备”的解决方案(家庭版无组策略)
使用ML.NET+ONNX预训练模型整活B站经典《华强买瓜》
Overview of testing theory
Strategic management of project organization
QT:QSS自定义 QScrollBar实例
Hard goods | write all the codes as soon as you change the test steps? Why not try yaml to realize data-driven?
Cache routing component
QT: QSS custom qtoolbar and qtoolbox instances
QT:QSS自定义QToolButton实例
2022 pinduogai 100000 sales tutorial