HOW TO INSTALL & USE OPENCV
I - CHOOSE YOUR FAVORITE IDE Microsoft Visual Studio Express 2013 for Window Desktop (Free) can be downloaded from visual-studio-vs [ visual-studio-vs Microsoft Visual Studio 2013 Ultimate (Chula DreamSpark License) Code::Blocks, Dev C++, Xcode etc.
II – OPENCV INSTALLATION Download OpenCV from : [opencv exe] Extract to “C:\” (or any other location as you wish)
III – ENVIROMENT VARIABLE SETUP 1 2 3
IV – ENVIROMENT VARIABLE SETUP ;C:\opencv\build\x86\vc12\bin
V – MICROSOFT VISUAL STUDIO 2013 SETUP FOR OPENCV Create Visual C++ Win32 Console Application empty project. Open project properties.
VI – MICROSOFT VISUAL STUDIO 2013 SETUP FOR OPENCV $(OPENCV_DIR)\..\..\include
IV – MICROSOFT VISUAL STUDIO 2013 SETUP FOR OPENCV $(OPENCV_DIR)\lib
IIV – MICROSOFT VISUAL STUDIO 2013 SETUP FOR OPENCV opencv_core249d.libopencv_imgproc249d.libopencv_highgui249d.lib
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; }