当前位置:网站首页>vs studio install opencv environment
vs studio install opencv environment
2022-08-03 03:04:00 【MioeC】
Article table of contents
Download opencv first
https://opencv.org/opencv-4-6-0/
Installation and decompression directly
Configure environment variables
Put D:\soft\opencv\build\x64\vc15\bin into it, and adjust it according to your personal situation.Install vs
Download directly from the official website, select desktop c++
Installation configuration




Next set the linker
- need to setAdditional library directories in general in the linker and additional dependencies in input
Additional library directory: C:\Program Files\opencv\opencv\build\x64\vc15\lib


test;
//Read the picture and display it#include "stdio.h"#include #include #include using namespace cv;int main(){Mat img = imread("C:\\Users\\AC\\Desktop\\A.jpeg");namedWindow("test opencv");imshow("test opencv", img);waitKey(6000);}边栏推荐
- 会话技术!
- 高并发基石:多线程、守护线程、线程安全、线程同步、互斥锁,一文扫尽!...
- PHICOMM(斐讯)N1盒子 - recovery模式救砖卡登录页LOGO卡1%卡4%卡26%
- Disable the token and update the token function without awareness
- Kubernetes:(八)调度约束和故障排查
- 怎么做postgrsql主备?
- [QNX Hypervisor 2.2用户手册]10 虚拟设备参考
- 【Arduino】重生之Arduino 学僧(2)----Arduino语言
- 能添加任意贴图超级复布局的初级智能文本提示器
- Violence recursion to dynamic programming 08 (pony go chess)
猜你喜欢
随机推荐
JVM internal structure and various modules operation mechanism
[NCTF2019]SQLi-1||SQL注入
暴力递归到动态规划 08(小马走象棋)
PHICOMM(斐讯)N1盒子 - Armbian5.77(Debian 9)基本配置
apache-activemq-5.14.1
The LVS load balancing cluster and the deployment of the LVS - NAT experiment
10-security登录
Qt在选择MSVC 编译器的时候,无法识别出M_PI的问题处理
ES6 新特性:Class 的基本语法
initramfs详解-----初识initramfs
如何让优炫数据库开机自启
mysql binlog日期解析成yyyy-MM-dd
MATLAB绘制填充图(X轴上下两种颜色)
The Sandbox 市场平台将上线 Isla Obscura 第五期 NFT 作品集
会话技术!
46LVS+Keepalived群集
Kubernetes:(八)调度约束和故障排查
代码工具推荐
豆瓣评分9.3的好书,文末给大家抽奖送几本!
常用工具链和虚拟环境-TDMGCC









