Create an OpenCV 4 Project in Visual Studio [C++]

  Рет қаралды 46,772

Adam Hacks

Adam Hacks

Күн бұрын

Пікірлер: 93
@aparna2701
@aparna2701 2 жыл бұрын
You have ABSOLUTELY no idea how much you have helped me here. I may have just passed my course because of your wonderful setup video. PLEASE don't stop making more videos, your channel and you are LOVELY.
@RaviPrakash-dz9fm
@RaviPrakash-dz9fm 4 жыл бұрын
Bro! You saved my job!!! I can't be more grateful to you. I used to do all this in Python, but my boss told me to use C++. Thanks a lot.
@robertt.9211
@robertt.9211 2 жыл бұрын
What a wonderful tutorial! Very detailed and every intermediate step perfectly explained. I spent min. 10 hours with other bad inconsistent tutorials and almost despaired. I am so incredibly grateful to you!!!
@OutLan
@OutLan 5 жыл бұрын
Wow. I never knew the ALT+SHIFT+I trick. You learn something new every day.
@adamhacks8437
@adamhacks8437 5 жыл бұрын
I'm a sucker for keyboard shortcuts. I had to fight the temptation to do it in vim, since I figured VS Code is a bit more approachable.
@lukasijus8690
@lukasijus8690 4 жыл бұрын
That is a pure gold info. I remember couple of years ago doing this on my own for at least couple of painful days. Thanks Captain!
@BartoszKomar
@BartoszKomar 3 жыл бұрын
I've just set-up project with OpenCV 4.52 so your tutorial is still actual. Thanks a lot!
@RogerCh888
@RogerCh888 4 жыл бұрын
You're a life saver, thank you for the initial build and installation video and this setup video, these videos were so helpful.
@taktail
@taktail 3 жыл бұрын
thank you. you fixed my depression and brain bleed from trying to figure this out.
@Amonomen
@Amonomen 2 жыл бұрын
For anyone reading this, save yourself some time in configuring the additional dependencies and use the command "dir /B *d.lib > debugLib.txt" Great video! It's been so long since I've messed with C++ that I forgot how to setup the libraries for a project.
@MegaCplayer
@MegaCplayer 4 жыл бұрын
Great video! Tip: Use powershell instead to get libraries Get all d.lib: Get-ChildItem "C:\yourpath" -Name -Filter *d.lib Get all non d.lib: Get-ChildItem "C:\yourpath" -Name -Exclude *d.lib
@lostree1785
@lostree1785 2 жыл бұрын
THANK YOU SO MUCH FOR THIS TUTORIAL!!!
@Iluvbabaganush123
@Iluvbabaganush123 4 жыл бұрын
I did exactly the steps followed and however the opencv/tracking.hpp is not working. When I try to include that libaray into my opencv source file it shows an error. I have google so much unfortunately nothing has come of it. I configured using make and have done the solution build more the 10 times now. With no progress.
@MauFeitioO
@MauFeitioO 3 жыл бұрын
I just want to say that i love you, thanks for the help, openCV and visual studio were getting me crazy
@garybey3800
@garybey3800 3 жыл бұрын
Thank you. Your video saved me a lot of trouble.
@santoshkumarjami9326
@santoshkumarjami9326 3 жыл бұрын
Really such a nice and clear explanation which saved my time and created interest in learning OpenCV. Thanks a lot
@AntsaVRmusic
@AntsaVRmusic 2 жыл бұрын
Hi ! any idea on how to use openCV in a CLR project? I actually want to display the video in a winForm , but I don't know how to do it.
@aaaron19
@aaaron19 4 жыл бұрын
I am having trouble making my app standalone, I get errors about not having OpenCV, etc. when on other machines. So if I wanted to make my application a standalone EXE that I could send to anyone, I would make my project inside the build folder that we created because that contains all the OpenCV files. Then I just need to build in release and it should be good?
@davidhernandezjuarez172
@davidhernandezjuarez172 4 ай бұрын
Amazing bro, you saved me
@simplex2168
@simplex2168 4 жыл бұрын
I did everything you explained and got an error on my test project that says that opencv_core411.dll cannot be found. I did rebuild both debug and release konfiguration. Do you know what's up?
@simplex2168
@simplex2168 4 жыл бұрын
By the way your tutorial was amazing and easy to follow.
@simplex2168
@simplex2168 4 жыл бұрын
I found the issue. I did't have the opencv_world411d.lib inside my references, because I installed opencv wrongly and reinstalled it so I had the opencv_world411d.lib file.
@datisreyhani4641
@datisreyhani4641 4 жыл бұрын
Is it possible you could attach a fully configured file in the description? It's not working at all and I really need a project that runs openCV! Thanks
@alpha7101
@alpha7101 2 жыл бұрын
I encounter with LNK2038 error while building a simple problem with your setting. How to solve it.
@amitsharma9377
@amitsharma9377 4 жыл бұрын
Awesome video, made it super easy to get started with OpenCV Development. Thanks.
@prajaysapkale484
@prajaysapkale484 4 жыл бұрын
I followed all the steps without any failures, still couldn't write the '#include' statement. Please help.
@karayakar
@karayakar 4 жыл бұрын
Great tutorial, opencv 4.3.0 tested and works. I had an issue with the libraries, after recompiling release and debug I was able to solve. Thanks.
@fleurvanille7668
@fleurvanille7668 5 жыл бұрын
in the lib folder I did not get the d.lib files , I do not know why ,, I 've got Only the .lib without
@fleurvanille7668
@fleurvanille7668 5 жыл бұрын
@@Serialphotog what should I do please
@adamhacks8437
@adamhacks8437 5 жыл бұрын
@@fleurvanille7668 I'd suggest going back to the part 1 video where I showed how to build the OpenCV library. Particularly, the part within Visual Studio that talks about building the library from within there. You have to do two separate build steps. Once to build the release version and then again with the debug version selected.
@fleurvanille7668
@fleurvanille7668 5 жыл бұрын
@@adamhacks8437 ahhhh okay Im there ,thanks
@mohammadaliavazpour3268
@mohammadaliavazpour3268 2 жыл бұрын
Thanks , This was useful for me 😀
@sarthaksingh2175
@sarthaksingh2175 3 жыл бұрын
Hey, I'm trying building Opencv similar to you from source code, but for me all modules are not configured. I have checked all version similarity and stuff. Can you please help me
@ANdrewPHillip16
@ANdrewPHillip16 4 жыл бұрын
Hi, thanks for the tutorial, I did it all as you said but I have some problems with the Gstreamer DLLs, when I run the project I get a message telling me that it couldn't find a DLL, Do you know how can I solve this? Thanks for your help.
@wkwkwk7347
@wkwkwk7347 4 жыл бұрын
i've do the same thing but error message like this: Unable to start program 'c\users\ikhsn\documents\visual studio 2015\Project\Test1\x64\Debug\Test1.exe' The system cannot find the file specified.
@yagzarkayn2178
@yagzarkayn2178 4 жыл бұрын
You could also include the libraries by writing *412.lib and *412d.lib
@jk-il1qs
@jk-il1qs 4 жыл бұрын
Hi, just wondering do you have any idea of an error " gfluidimgproc_func.simd.hpp not found". I'm runing an opencv project, built successfully, but got this error when executed.
@SuperEB1994
@SuperEB1994 4 жыл бұрын
Do i have to change the settings in Properties everytime i create a new OpenCV-project?
@maroquio
@maroquio 4 жыл бұрын
You can create a new project model and use it when needed. Take a look at this link: docs.microsoft.com/en-us/visualstudio/extensibility/creating-custom-project-and-item-templates?view=vs-2019
@okfine9077
@okfine9077 4 жыл бұрын
If you do not want to edit the properties settings every time you want to create a C++ with OpenCV, you should consider using property sheets.
@rachelbrady8257
@rachelbrady8257 3 жыл бұрын
So helpful, thank you!!
@BOHICAMAN1
@BOHICAMAN1 4 жыл бұрын
Followed exactly except I am using OpenCV 4.3. Using build RELEASE 64bit. Followed placing the file/directories where you said,but got error "Severity Error LNK1181 cannot open input file 'objdetect430.lib' " on line 1. Line 1 is: #include . Any suggestions appreciated! Bob
@warpie7
@warpie7 3 жыл бұрын
did you fix the issue?, I have same problem
@arbjful
@arbjful 2 жыл бұрын
How much does Visual Studio 2019 cost? Is it free?
@olubukolaogunsola5864
@olubukolaogunsola5864 4 жыл бұрын
I dont have anything under "Configuration properties" , please advice
@TylerMatthewHarris
@TylerMatthewHarris 4 жыл бұрын
if you can't find the .dll you might need to add C:\opencv\x64\vc16\bin to your path environment variables
@quanglysi7481
@quanglysi7481 4 жыл бұрын
where is vc16 folder ? i have only vc14 and vc15
@lukasleitner8662
@lukasleitner8662 4 жыл бұрын
depends on your visual studio version. vc16 = visual studio 19
@BOHICAMAN1
@BOHICAMAN1 4 жыл бұрын
C:\OpenCV4.3.0\Build\install\x64\vc16
@wei4515
@wei4515 4 жыл бұрын
what can I do if opencv_core 451d.dll cannot be found?
@cw9180
@cw9180 4 жыл бұрын
if you can't find the .dll you might need to add C:\opencv\x64\vc16\bin to your path environment variables This worked for me
@mohanpannirselvam4102
@mohanpannirselvam4102 5 жыл бұрын
can you do a unity and opencv bridge. can we use dll ?
@niloofarkp1405
@niloofarkp1405 3 жыл бұрын
Thank you so much for the video! it was really helpful.
@lampshader
@lampshader 4 жыл бұрын
1) You are a live saver. 2) This is the most stupid thing I've done this year.
@leosilva0411
@leosilva0411 4 жыл бұрын
Pretty easy and straightforward tutorial.Thank you!!
@rhinowizard3821
@rhinowizard3821 Жыл бұрын
WORKING GREAT
@robertjuszczak8227
@robertjuszczak8227 3 жыл бұрын
doesn't work. I'm getting an error during the compilation. Error LNK1104 cannot open file 'kernel32.lib' OpenCVExamole C:\Users\Robert\source epos\OpenCVExamole\OpenCVExamole\LINK 1 Can anyone teel Me wot I have to do to fix that problem ?
@milerswang6743
@milerswang6743 3 жыл бұрын
Thanks for you save my day~~~~~
@yuehuileo9110
@yuehuileo9110 4 жыл бұрын
hi,many thanks,great video.
@marwaelkebir3289
@marwaelkebir3289 4 жыл бұрын
you can help me please? I get this message : impossible de démarrer le programme 'C:\users\pc\documents\visual studio2019\Templates\project Templates\testcv1\x64\Debug\testcv1.exe' le fichier spécifié est introuvable
@flatearthgodsarenotreal
@flatearthgodsarenotreal 4 жыл бұрын
Which windows do you have If it is 7, then this ain't be working
@marwaelkebir3289
@marwaelkebir3289 4 жыл бұрын
@@flatearthgodsarenotreal oh yes it's windows 7 unfortunately thx
@flatearthgodsarenotreal
@flatearthgodsarenotreal 4 жыл бұрын
@@marwaelkebir3289 then upgrade, you'll be forced to upgrade to 10 anyway
@name_nils
@name_nils 2 жыл бұрын
Thank you saviour, Since this wasn't the first video i watched on getting opencv i have downloaded and destroyed my hard drive with probably 20 different opencv and other files that i thought i needed, anything to code in c++ i geuss. 🙃
@killuahsmathetricks389
@killuahsmathetricks389 4 жыл бұрын
I did everything the video said. I actually get even the exact same fail messages in my command. However the frame does not update. Is there any reason for that that is easily fixable? I already tried to just make my for loop run for a million steps, but that does not work as well. It only captures the first frame when I run the programm and then nothin happens anymore. Furthermore I just noticed, that I can include the library in the debug mode, but not in release mode. I had the same issue before but flipped. I could include it in release mode but not debug. Anybody got an idea for any of my problems? =(
@leiyarabe7482
@leiyarabe7482 4 жыл бұрын
❤️Thank you dude!
@JOAOGABRIELCAVALCANTEFRANCA
@JOAOGABRIELCAVALCANTEFRANCA Жыл бұрын
Thanks a lot!
@jingyugao
@jingyugao 4 жыл бұрын
where could I found opencv vc16? I've tried to CMake one using Visual Studio but it didn't work, could you send me one. The files I download(cv15) from website seem don't have so much .lib files under "vc15\lib\"
@heyalexluu
@heyalexluu 4 жыл бұрын
Watch the previous video on how he built it.
@jingyugao
@jingyugao 4 жыл бұрын
@@heyalexluu I've already tried many times to cmake vc16 on my windows10 but in vain. A lot of errors including ippicv and ffmeg in cmaking and others in debuging with VS2019. I wonder if you've tried and succeed, that way could you send me your opencv vc16 to me. I would be more than grateful. Here's my gmail: xonejyr@gmail.com
@a-bae9466
@a-bae9466 4 жыл бұрын
Amazing! thanks bro
@lschua5571
@lschua5571 4 жыл бұрын
Words too small, difficult to read code.
@Alik-rq4ym
@Alik-rq4ym 5 жыл бұрын
What virtion opencv4
@kstringer24
@kstringer24 3 жыл бұрын
instead of dir /w type dir /b and you'll only get a single column, not double.
@statwizard
@statwizard 5 жыл бұрын
Great video, and thanks for posting it. A little work to setup each project..… Lol
@the-well-known-amir
@the-well-known-amir 4 жыл бұрын
Thank you sir
@AhmedDeedatPalestine
@AhmedDeedatPalestine 4 жыл бұрын
You took a lot of time to get to part 2 but thanks
@elucasvargas1874
@elucasvargas1874 4 жыл бұрын
Thanks!!!
@sofiannaaima964
@sofiannaaima964 4 жыл бұрын
thx pal u saved me lol
@powersroyale837
@powersroyale837 3 жыл бұрын
dont work ;/
@fleurvanille7668
@fleurvanille7668 5 жыл бұрын
thanks a lottttttttt,
@videofountain
@videofountain 4 жыл бұрын
Process confirmed for .... Microsoft Visual Studio Community 2019 Version 16.7.2
@mohanpannirselvam4102
@mohanpannirselvam4102 5 жыл бұрын
took 6 months. wow
@jingyugao
@jingyugao 4 жыл бұрын
There is not
@tektronix475
@tektronix475 4 жыл бұрын
It worked, thanks!. libs with and without d letter. drive.google.com/file/d/1grZeV9aNKNNjUs5f4Zh5NuwAhuLB2nVi/view?usp=sharing
Setup OpenCV in Visual Studio 2022 for C/C++ Development
6:42
BoostMyTool
Рет қаралды 86 М.
OpenCV 4 Building with CMake & Visual Studio 2017 Setup
11:24
George Lecakes
Рет қаралды 21 М.
Quando A Diferença De Altura É Muito Grande 😲😂
00:12
Mari Maria
Рет қаралды 45 МЛН
VIP ACCESS
00:47
Natan por Aí
Рет қаралды 30 МЛН
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 148 МЛН
The Best Band 😅 #toshleh #viralshort
00:11
Toshleh
Рет қаралды 22 МЛН
OpenCV Python TUTORIAL #4 for Face Recognition and Identification
1:06:24
CodingEntrepreneurs
Рет қаралды 810 М.
Installing Retro Gem & RePS2 PSU On A PS2
19:55
Shawn Shakir
Рет қаралды 239
OpenAI Announces o3: Nearing Artificial General Intelligence
4:03
Nate B Jones
Рет қаралды 1,5 М.
Build and Install OpenCV 4 on Windows 10
7:51
Adam Hacks
Рет қаралды 43 М.
How I make Renders… VERSION 2! | Roblox Studio
8:18
𝙴𝚚𝚞𝚒𝚗𝚘𝚡Indefinitely
Рет қаралды 5
The New Outlook is TERRIBLE
20:19
Chris Titus Tech
Рет қаралды 119 М.
Quando A Diferença De Altura É Muito Grande 😲😂
00:12
Mari Maria
Рет қаралды 45 МЛН