OpenCV C++ and Microsoft Visual Studio: A Complete Tutorial on Installation and Usage for Beginners

preview_player
Показать описание

You will also get access to all the technical courses inside the program, also the ones I plan to make in the future! Check out the technical courses below 👇

In this Video 📝 I'm going to show you How To Install OpenCV and Use It With Microsoft Visual Studio 2019. We will go over the installation and all the steps of setting it up in Microsoft Visual Studio so you can get started with OpenCV and run your programs.

If you enjoyed this video, be sure to press the 👍 button so that I know what content you guys like to see.

_____________________________________________________________

_____________________________________________________________

_____________________________________________________________

📞 Connect with Me:

_____________________________________________________________

🎮 My Gear (Affiliate links):
🖥️ Desktop PC:

_____________________________________________________________

Step By Step:

1. Edit the environment variables
c:\opencv\build\x64\vc15\bin

2. Specify paths for the directories as in the video
c:\opencv\build\include
c:\opencv\build\x64\vc15\lib

3. Link library as in the video

Tags:
#ComputerVision #OpenCV #VisualStudio #OpenCVInstall #OpenCVSetup #OpenCVcpp
Рекомендации по теме
Комментарии
Автор

Join My AI Career Program
Enroll in My School and Technical Courses

NicolaiAI
Автор

I tried many tutorials and yours is the best and most simple. Thank you so much Nicolai!

kemon-qc
Автор

Thanks .
This one is so much easier then the vs-code one.

behrampatel
Автор

Really useful for anyone starting with OpenCV. I struggled with different guides to make it right. I also had a problem when I hovered over a function and Visual Studio froze because of the large commentary of it. You had to delete the comments to Mat to make it work.

koh
Автор

Amazing video!
I've only a question. My version of opencv is 4.5.5, so 06:44 i wrote "opencv_world455d.lib", but it gives an error:
"LNK1104 - unable to open file 'opencv_world455d.lib' ". Why? what should I do?

Thank you very much!

giada
Автор

Amazing as always, thanks for your video! People are often scared (me included) by the set-up in using C++, this is why we need videos such as this one: simple but clear to help entry level coders in C++. It would be very nice to level it up later and see the compilation from source with submodules (e.g. like ArUco which is not included in the "vanilla" installation of OpenCV). But again, thanks for sharing!

andreasettimi
Автор

Make sure that in the Properties page you have set *Platform* to "All Platforms" or x64. I had it as WIn32 by default and it didn't work.

mailoisback
Автор

Please provide the appropriate link to the code sample. Your link just takes everyone to your GitHub with no direction as to what repo it is stashed into. Thanks for the video Nicolai I appreciate you. Feel free to remove this if you think it's needed. No hurt feelings. ; )

datasagedev
Автор

ty bro u have no idea how much this helped

submaryne
Автор

If I would like to create new project then I need to repeat same step every time..? If No then how to make it global?

babydriver
Автор

Thanks for this tutorial.
Can you make a tutorial about how to import an image to opencv from url using curl .

dharanimohan
Автор

awesome tutorial! thanks so much for the easy to follow instructions. worked first try

mbrenneman
Автор

i followed all the steps carefully and managed to run the test program without any errors, however the image window didnt show up

soreachsina
Автор

Thank you so much finally worked perfectly

kitfsto
Автор

Thank you for the tutorial. It feels like this is way too complicated for what it should be, but at least you guided me succesfully through it!
I have one question though, for now it is specified in debug mode, but could I just add the file without the d for the compiler (so have both files there) and have it work for release and debug?
Sounds too easy to be true though

Windeycastle
Автор

I had annoying issue to let it work, the problem was that I link both libraries in linker of vs, instead link just the one with the 'd' for debugging.

ahmadooof
Автор

When I go to the opencv's github it has really different folders now, can someone send a link to get the version of openv what he is using please?

Sekiraw-
Автор

why these settings changing for every new project that I am creating? I would like to keep these settings for every project hpw I can do this?

unamattina
Автор

my visual code has different interference i can't follow along. Can you tell me which version are you using??

ankitrawat
Автор

The code is leading me to the... Unresolved external error near the the cv methods / functions calls
. Which is related to the. LNK 2019 ... errors..

AslamFarooqShaik-dkhw