当前位置:网站首页>How to download opencv? How to configure opencv after downloading?

How to download opencv? How to configure opencv after downloading?

2022-06-27 06:52:00 Program type

OpenCV Up to now, many versions have been launched , The latest version is OpenCV4.6.0, Many novices still don't know where to download , The configuration process is not clear after downloading , This article gives you a detailed solution OpenCV download 、 install 、 One stop configuration , I hope we can solve your problems .

OpenCV How to download ?OpenCV How to configure after downloading ?

One 、Visual Studio2022 download

Win10 Of 64 Bit operating system , Directly in VS Download from the official website VisualStudioCommunity, Default installation , Installation is VisualStudioCommunity2022:

( Installed 【 The workload 】 The step is 【 Use C++ Desktop development 】 and 【 Universal Windows Platform development 】 And other toolsets 【VisulStudio Extended development 】)

Two 、OpenCV4.6.0 download ( Quick version update , The latest edition shall prevail )

Win10 Of 64 Bit operating system , stay OpenCV Download from the official website OpenCV4.6.0, Installation is Win pack

3、 ... and 、 To configure OpenCV environment variable

Download the installed opencv Folder open , Open until opencv\build\x64\vc15\bin, Copy the path , Paste into the environment variable of the system :

【 Note that we use visualstudio2022 The version corresponds to vc15!】

Four 、 stay Visual Studio2022 On the configuration OpenCV4.6.0

1、 open visual studio 2022 Create a new project , choice C++ Console Application

2、 Click on the top tab bar project in attribute

3、 Click on VC++ The include directory in the directory , edit , Choose the path opencv\build\include, Add to our include directory

4、 Click on VC++ The Library Directory in the directory , edit , Choose the path opencv\build\x64\vc15\lib, Add to our library Directory

5、 Click on The linker Of Input Medium Additional dependency

edit , Copy folder opencv\build\x64\vc15\lib Medium opencv_world454d.lib file , Paste into our additional dependencies

6、 test , In our cpp Run the code in the file

This is about OpenCV4.6.0 That's all for the download and configuration articles .

Share some of my artificial intelligence learning materials for free , Including some AI Common framework actual combat video 、 Image recognition 、OpenCV、NLQ、 machine learning 、pytorch、 Computer vision 、 Videos such as deep learning and neural network 、 Courseware source code 、 Famous essence resources at home and abroad 、AI Hot papers 、 Industry reports, etc .

For better systematic learning AI, I recommend that you collect one .

Here are some screenshots , Free download method is attached at the end of the article .

One 、 Artificial intelligence courses and projects

Two 、 Famous essence resources at home and abroad

3、 ... and 、 Collection of papers on artificial intelligence

Four 、 AI Industry Report

Learn Artificial Intelligence well , Read more , Do more , practice , If you want to improve your level , We must learn to settle down and learn slowly and systematically , Only in the end can we gain something .

Click on the business card below , Scan the code and download the information for free .

原网站

版权声明
本文为[Program type]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/178/202206270633475882.html