OpenCV (All Versions) - Easy Installation Guide and Sample Project (VS 2010 C++)
A step by step guide on installing OpenCV for Visual Studio 2010.
Found this video useful? $1 PayPal Donations are very much appreciated, thank you. https://www.paypal.com/cgi-bin/webscr...
OpenCV download: http://sourceforge.net/projects/openc...
Some copy and pastables:
Additional Include Directories: $(OPENCV_BUILD)\include
Additional Library Directories: $(OPENCV_BUILD)\x86\vc10\lib
**UPDATE**
Version 2.4.6 Additional Dependencies:
opencv_core246d.lib
opencv_imgproc246d.lib
opencv_highgui246d.lib
opencv_ml246d.lib
opencv_video246d.lib
opencv_features2d246d.lib
opencv_calib3d246d.lib
2.4.3 Additional Dependencies:
opencv_core243d.lib
opencv_imgproc243d.lib
opencv_highgui243d.lib
opencv_ml243d.lib
opencv_video243d.lib
opencv_features2d243d.lib
opencv_calib3d243d.lib
Release Additional Dependencies (same thing but without 'd' at the end):
opencv_core243.lib
opencv_imgproc243.lib
opencv_highgui243.lib
opencv_ml243.lib
opencv_video243.lib
opencv_features2d243.lib
opencv_calib3d243.lib
Closed Caption:
hello everyone welcome to the tutorial
on installing opencv version 2.4 . 3 on
visual studio 2010
- column or fourth year electrical
engineering student from the University
of British Columbia
the first thing you're going to want to
do is add to the open sea source for
stage
the quick
can see for windows or carry them
you can see that there's plenty of
version but the most latest one is two
point four point three will click on
that
ok it was already in an executable file
I we're not going to need to compile any
libraries can see maker
however some other tutorials and have
shown how to compile your library's i
find that way more complicated
especially here at this tutorial you
obviously having some trouble installing
it so we're going to click on the
executable two point four point three
once that's finished downloading you can
open it up and we're going to extract it
to see
: / hoping cd43 once that's done
extracting we can head to our C
directory which we save it in cv . for .
for you here now there's going to be a
folder in there called open CD
what we're going to do is we're going to
copy all of the contents in this folder
we're just going to move it out to our
director here
so once that's tasted it once that's
finished copying over we're going to
delete the whole directory open CD
the next thing I'm going to want to do
is create some environment variables
now we're going to do that click on
start computer system properties
advanced system settings environment
variables
now under system variables are going to
create a new variable like you call the
variable being broken CD of the school
build the variable value that's going to
be where we install
the are the library conserve see going
back / GV 2 or 3 / killed
next under system variables to scroll
down to get the path
we're going to click on edit we're going
to go again we're going to type in a
semicolon press enter
opencv other support build percent
that's the system variable we just
created a square takes to see
: / opencv 243 backslash build from
there
we're going to click back / x86 / you
see 10 / beginning
ok now that we've linked their
environment variables to the opencv
library will show you how to make a
project in visual studio in the project
call it
why open
ok you create a new project and exterior
of the property manager
we're going to right click on debug your
mind you opencv where click add new
project property sheet
we're going to call this property sheet
opencv underscore debug we're going to
right click on open sea debug and click
properties
we're going to see / c++ in front of
additional include directories
click on the edit we're just going to
paste in this string which I have
provided below click OK and go down the
linker in general and under had
additional library directories
go ahead it we're going to paste in this
string here which I've also provide both
finally go to input under labor in there
in front of additional dependencies
we're going to paste in this long string
what you're going to you're going to
want to face this with it unless you
want to take this all of this is that
just makes us all the library files
click ok click ok now that we've linked
Visual Studio Tour library going to test
up see them working correctly
i'm going to create a new CPP file
help me no I mean we're going to try and
include some of the libraries that we
are individual studio here so we're
going to have found include the bracket
opencv now if I these two folders and
coming up with you when you type in
opencv and you've done something wrong
you have to go back and try again
but I also click open CV back /c . h and
also going to see I GUI cv
this is working correctly you should see
yourself
all right ok so any questions or
comments below and as soon as i can
answer all your questions
Video Length: 07:49
Uploaded By: Kyle Hounslow
Published: 10/31/2012
View Count: 357,503