当前位置:网站首页>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);}
边栏推荐
猜你喜欢
二叉树的前序遍历、中序遍历、后序遍历和层序遍历
PyCharm中常用的快捷键用法详解
一个循环,两个循环问题的思考及复现
20、商品微服务-web层实现
JVM内部结构图及各模块运行机制总结
Wireshark data capture and analysis of the transport layer protocol (TCP protocol)
XSS攻击
vs studio 安装opencv 环境
Greenplum database failure analysis, can not listen to the port
Topic Modeling of Short Texts: A Pseudo-Document View
随机推荐
sql注入是什么意思以及防止sql注入?
10-security登录
【Flink】如何生成 Flink 作业的交互式火焰图?
12-security退出.md
Violent recursion to dynamic programming 06 (the sword refers to Offer II 095. Longest common subsequence)
[Arduino] Reborn Arduino Monk (3)----Arduino function
OpenWRT设置ipv6网络
为什么要使用 playwright 做浏览器自动化测试?
Introduction to agile development
The cornerstone of high concurrency: multithreading, daemon threading, thread safety, thread synchronization, mutual exclusion lock, all in one article!...
能添加任意贴图超级复布局的初级智能文本提示器(超级版)
可信的SSL证书颁发机构有哪些
Likou second week wrong questions collection
XSS攻击
【UE4】搭建局域网内VR直播 UE4.27
The LVS load balancing cluster and the deployment of the LVS - NAT experiment
openCV第一篇
UVM中SVA使用指南
FLIR E95 在8层楼看马路上行驶的CAR的热成像形态?
软件定义网络实验之自定义拓扑开发