当前位置:网站首页>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);}
边栏推荐
猜你喜欢
Excel 如何比较两列字符串是否相同?
initramfs详解-----初识initramfs
梅科尔工作室-14天华为培训三
236. The binary tree in recent common ancestor
Violent recursion to dynamic programming 06 (the sword refers to Offer II 095. Longest common subsequence)
爆款视频怎么做?这里或许有答案
部门之间,互不信任正常吗?(你是否遇到过)
怎么从零编写一个 v3 版本的 chrome 浏览器插件实现 CSDN 博客网站的暗黑和明亮主题切换?
孩子坐不住就是不专注?猿辅导揭秘专注力的三大误区
PyCharm中常用的快捷键用法详解
随机推荐
容联云发送验证码
monkey 压测
VS Code 这么牛,再次印证了一句名言
The Multiversity 的 “非常重要的生命体” NFT 推出
Brute force recursion to dynamic programming 07 (516. Longest palindrome subsequence)
Usage of permute() function in pytorch
20、商品微服务-web层实现
如何让优炫数据库开机自启
.NET in-depth analysis of the LINQ framework (four: IQueryable, IQueryProvider interface details)
Disable the token and update the token function without awareness
lombok 下的@Builder和@EqualsAndHashCode(callSuper = true)注解
软件定义网络实验之自定义拓扑开发
征集 |《新程序员》专访“Apache之父”Brian Behlendorf,你最想问什么?
6-接口跨域处理
豆瓣评分9.3的好书,文末给大家抽奖送几本!
爆款视频怎么做?这里或许有答案
List转Map的几种方式
[Static type and dynamic type compile check and run check in Objective-C]
易购数码类电商商城网页设计与实现项目源码
8-jwt工具类