Download presentation
Presentation is loading. Please wait.
Published byMartha Davis Modified over 9 years ago
1
HOW TO INSTALL & USE OPENCV
2
I - CHOOSE YOUR FAVORITE IDE Microsoft Visual Studio Express 2013 for Window Desktop (Free) can be downloaded from http://www.visualstudio.com/downloads/download- visual-studio-vs [http://goo.gl/OomWSe]http://www.visualstudio.com/downloads/download- visual-studio-vs Microsoft Visual Studio 2013 Ultimate (Chula DreamSpark License) Code::Blocks, Dev C++, Xcode etc.
3
II – OPENCV INSTALLATION Download OpenCV 2.4.9 from : http://opencv.org/downloads.html [opencv-2.4.9.exe]http://opencv.org/downloads.html Extract to “C:\” (or any other location as you wish)
4
III – ENVIROMENT VARIABLE SETUP 1 2 3
5
IV – ENVIROMENT VARIABLE SETUP 1 2 3 4 5 ;C:\opencv\build\x86\vc12\bin
6
V – MICROSOFT VISUAL STUDIO 2013 SETUP FOR OPENCV Create Visual C++ Win32 Console Application empty project. Open project properties.
7
VI – MICROSOFT VISUAL STUDIO 2013 SETUP FOR OPENCV $(OPENCV_DIR)\..\..\include
8
IV – MICROSOFT VISUAL STUDIO 2013 SETUP FOR OPENCV $(OPENCV_DIR)\lib
9
IIV – MICROSOFT VISUAL STUDIO 2013 SETUP FOR OPENCV opencv_core249d.libopencv_imgproc249d.libopencv_highgui249d.lib
10
IX – MICROSOFT VISUAL STUDIO 2013 SETUP FOR OPENCV Create main.cpp Add these code: #include “opencv2/core/core.hpp” #include “opencv2/highgui/highgui.hpp” using namespace cv; int main(){ Mat input_image; input_image = imread(“c:\\tcblab.jpg”); //path to image imshow(“Hello OpenCV!”,input_image); waitKey(0); return 0; }
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.