Just for other people to reference in the future - If you include the line 'using namespace cv;' you don't need to add cv:: before each function and vice versa
If you have restarted VS and it still cannot find the dll the your path variable is probably set incorrectly. In the video he uses a semicolon however on my PC I had to add the path to a new line the semicolon did not work as that is for older versions of windows. I got this error and it took me hours to find that it was how i set the path variable. Pls like this comment to bump :)
I had another strange error. I got the same problem as you, but the problem at me was, somehow the system variables location vanished after I set it. When I set the location again, it was working perfectly.
A very short & sweet video that concisely shows how c++ should be setup to run opencv correctly! I have been searching around for over 2 months and this solves the mystery. Great job, BoostMyTool!
Sheesh, I wish I found this tutorial about 12 hours ago lol! I came from python where this whole process is 2 steps. Thank you so much - after sifting through outdated docs and stack overflow posts, I finally got it to work.
THANKYOU VERY MUCH ! Like seriously , i was so confused after watching so many tutorials but at the end only this one worked for me ! Thankyou very much man!
Thank you so much!! I have been round and round the internet for ages trying to work out how to do this. ALL of the other tutorials out there are for earlier versions of VS and they don't seem to work!
Worked great for me! I used VS2019 and vc16, the only difficulties were that I forgot to change the file path in the first line and to change it to x64 at the top.
superb. learned how to build a release version. cheers Do you know how to get it to work in vs code ? i'm getting linker errors despite installing cmake tools etc Thanks
If you have two cameras set about 10 cm apart filming a moving object and you want to calculate distance. How do you find the difference in pixel shift along X-axis? Can you show this in c++, example video from cam1 and cam2.
which version of the visual studio and CV are you using? at minute 4:51, the step of linker and onward I can't find this path in my folder, I am using cv 4.5.2 version , please advise
i have configured everything perfectly the image is loading on visual studio but the recognition sign is not appearing on the image can you tell me what i am missing?
How to include sub-directories in Visual Studio? I have to include many header files, which are in different sub-directories. Is there a way in Visual Studio (I am using 2013 edition) to set one include path that Visual Studio will search also the sub-directories for header files? My Project is in C/C++. Add the "base folder" to the project (project properties -> Configuration Properties -> C/C++ -> Additional Include Directories, "additional include directories") I have tried the above option but it is not possible for me to add each and every directory followed by a semicolon. I have total 60 + different C C++ sub-directories
In 03:46 of the film you need to choose Debug instead of Release and follow all the steps, just like in Release mode, but when adding opencv_world.lib file remember to choose the file with "d" at the end of filename (in this film it's opencv_world455d.lib)
problem resolved. need to create empty project instead....lol Anyway, thanks for the tutorial. Much appreciate higher level like c# to cut through the ceremonies... lmao
hold up we have to add the path to our system environmental variables? why can't we just add it to our project variables or something? That is beyond messy. So over time our system environmental variables are just going to be a clusterfuck the more C++ applications we develop unless we tediously remove each path after each project completion? I'm starting to regret trying to work with C++... Anaconda does such a better job with this issue with python and C++ has been around longer than Python wth.
If you have restarted VS and it still cannot find the dll the your path variable is probably set incorrectly. In the video he uses a semicolon however on my PC i had add the path to a new line the semicolon did not work as that is for older versions of windows. I got this error and it took me hours to find that it was how i set the path variable.
#include
#include
#include
#include
using namespace cv;
int main()
{
cv::Mat img = cv::imread("C:/Users/BoostMyTool/Desktop/image.jpg");
namedWindow("First OpenCV Application", WINDOW_AUTOSIZE);
cv::imshow("First OpenCV Application", img);
cv::moveWindow("First OpenCV Application", 0, 45);
cv::waitKey(0);
cv::destroyAllWindows();
return 0;
}
Just for other people to reference in the future - If you include the line 'using namespace cv;' you don't need to add cv:: before each function and vice versa
If you have restarted VS and it still cannot find the dll the your path variable is probably set incorrectly. In the video he uses a semicolon however on my PC I had to add the path to a new line the semicolon did not work as that is for older versions of windows. I got this error and it took me hours to find that it was how i set the path variable. Pls like this comment to bump :)
I had another strange error. I got the same problem as you, but the problem at me was, somehow the system variables location vanished after I set it. When I set the location again, it was working perfectly.
A very short & sweet video that concisely shows how c++ should be setup to run opencv correctly! I have been searching around for over 2 months and this solves the mystery. Great job, BoostMyTool!
After a long struggle for a week, this video came as a saviour! Thanks ;)
Thanks Man, you made it very easy !! Worked 100%
how it work with you ... please help me
You are the only one on the whole UA-cam who explained all this correctly and well
This tutorial is saving me with another library for the third time. Thank you!
I still cannot do setup correctly. Can you please help me with this.
Sheesh, I wish I found this tutorial about 12 hours ago lol! I came from python where this whole process is 2 steps. Thank you so much - after sifting through outdated docs and stack overflow posts, I finally got it to work.
Unbelievably concise tutorial. Thank you.
Excellent tutorial. A notoriously difficult tool to setup. This was straight forward and worked first time :)
it works cheers man
THANKYOU VERY MUCH ! Like seriously , i was so confused after watching so many tutorials but at the end only this one worked for me ! Thankyou very much man!
Were you getting Properties option in your VS Code ?
How did you configured ?
Please help
Thank you SO MUCH! Nothing but your tutorial worked!
Thanks, I couldn't run simple examples before, now I can.
Great tutorial! Clear steps that actually worked.
Merci beaucoup!
Thanks a lot, you saved my day. Straight and clear to the point
Finallyyyyyyyyyyyyyyyyyyyyyyyyyyyyy..... finally a REAL working solution for running opencv with VS .... Dude many many thanks....
Thanks! This really helped me!
Excellent concise explanation, thank you. Liked and Subscribed. 👍
A short but very helpful video. Thanks a lot.
Great video! It worked
Thank you very much, it helped me when I got stuck. Keep up with the great tutorials
Thank you so much!! I have been round and round the internet for ages trying to work out how to do this. ALL of the other tutorials out there are for earlier versions of VS and they don't seem to work!
thank you broooo, its really help me! good luck!
Thank You Very Much Such!!!! I Have Watch Many Tutorials But It Is Very Short And Easy!!!
Very good tutorial with precise steps for the settings !!
Straight to the point ! Thanks very much.
bro u are the best!! i love u!
thanks man very short and precise
Thanks so much. With the help of your video, I could execute my first opencv cpp in my computer.
Great job!
Thank you, it worked for me!
Thank you very much, this method works on the version openCV 4.4. Visual studio 2019 on Windows 7
you are amazing , thank you
Excellent tutorial saved me loads of time
Thank You so much I have been trying to crack it since 2 days.. Finally it worked.. thanks
Thank you very much. god bless you ❤
excellent work bro !! BRAVO!
Muchas gracias querido compatriota, saludos desde chile
Great! thanks
Thanks for the great tutorial!
Yep, that worked fine! Thanks
solved my problem.Thank you helped a lot
Thank you! That worked fine
It worked. Thanks a lot
You saved my life, man.
Thank you very much, this video helped me❤
Thank you. Perfect!
Thanks for your help.
Worked great for me! I used VS2019 and vc16, the only difficulties were that I forgot to change the file path in the first line and to change it to x64 at the top.
Thank you so much!
MERCIIIIIIIIIIIIIIIIIIIIIIIIIIIIII !
Спасибо. много видео пересмотрел как подключить OpenCV. Ваше видео помогло
superb. learned how to build a release version. cheers
Do you know how to get it to work in vs code ?
i'm getting linker errors despite installing cmake tools etc
Thanks
Well explained!!
Thank you so much
really really really really really niceeeee!!!!!
If you have two cameras set about 10 cm apart filming a moving object and you want to calculate distance. How do you find the difference in pixel shift along X-axis? Can you show this in c++, example video from cam1 and cam2.
thx man
100% working,
thank you so much!!!
THANK YOU VERY MUCH
Excelente a funcionado!!!
you are a life saver
which version of the visual studio and CV are you using?
at minute 4:51, the step of linker and onward I can't find this path in my folder,
I am using cv 4.5.2 version ,
please advise
i performed all these instruction but i had the following message .. the image cannot be read
i have configured everything perfectly the image is loading on visual studio but the recognition sign is not appearing on the image can you tell me what i am missing?
Thankyou so much
Great!
I am not getting the image it says can't open or read file in debug console
Running opencv is like playing a souls game, too top needlessly complicated, honestly it should just be included with Microsoft visual studio.
thank you sir
ty
How to include sub-directories in Visual Studio?
I have to include many header files, which are in different sub-directories. Is there a way in Visual Studio (I am using 2013 edition) to set one include path that Visual Studio will search also the sub-directories for header files?
My Project is in C/C++.
Add the "base folder" to the project (project properties -> Configuration Properties -> C/C++ -> Additional Include Directories, "additional include directories")
I have tried the above option but it is not possible for me to add each and every directory followed by a semicolon.
I have total 60 + different C C++ sub-directories
but what about the debug mode
In 03:46 of the film you need to choose Debug instead of Release and follow all the steps, just like in Release mode, but when adding opencv_world.lib file remember to choose the file with "d" at the end of filename (in this film it's opencv_world455d.lib)
❤❤
I am not getting Properties option in my VS Code
Why ?
Anyone help!!
nice
ur awsome
It worked
LA CABRA 🐐
VCRUNTIME140_1.dll was not found . Reinstalling the program may fix this problem . Anyone know how to fix this ?
successfully built the project, but image no show... any idea???
cv::imshow("First OpenCV Application", img);
problem resolved. need to create empty project instead....lol
Anyway, thanks for the tutorial.
Much appreciate higher level like c# to cut through the ceremonies... lmao
Is it compatible to use opencv vc15 build with visual Studio 2022 (cuz it uses vc17)
Guys help the solution isnt even building whyyyyyyyyy
hold up we have to add the path to our system environmental variables? why can't we just add it to our project variables or something? That is beyond messy. So over time our system environmental variables are just going to be a clusterfuck the more C++ applications we develop unless we tediously remove each path after each project completion? I'm starting to regret trying to work with C++... Anaconda does such a better job with this issue with python and C++ has been around longer than Python wth.
i love you
i restarted my visial studio and it still showed the same error message
you have to have an image at the path
@@ahmadhassan8193 on which path??
Yes kindly tell which image path? @Ahmad Hassan
If you have restarted VS and it still cannot find the dll the your path variable is probably set incorrectly. In the video he uses a semicolon however on my PC i had add the path to a new line the semicolon did not work as that is for older versions of windows. I got this error and it took me hours to find that it was how i set the path variable.
@@kalpmodi just download any image and change the path in the given code
how to do with python
Weel Done !!
thanks you
thank you so much!
thx u very much!
Thank you so much