Professional Documents
Culture Documents
Open CV
Open CV
Open CV
Topics to be discussed
Introduction to Open CV Downloading and Installing OpenCV Configuring OpenCV for Visual C++ 2005 Configuring OpenCV for Visual C++ 6.0 OpenCVDemo project
Introduction to OpenCV
OpenCV is an open source computer vision library
originally developed by Intel Corporation. OpenCV provides easy to use APIs for Image Processing / Computer Vision / Machine Learning algorithms OpenCV also provides support for
Basic GUI for loading / saving / viewing images / videos being
development
Installing OpenCV
OpenCV is supported in both Windows and Linux
platforms This tutorial will only discuss installation / configuration for the Windows platform using Microsoft VC++ as the preferred development environment This tutorial assumes intermediate level of familiarity with C/C++ programming on MS VC++ IDE The OpenCV 1.0 for windows can be downloaded from the following location
http://sourceforge.net/projects/opencvlibrary/files/opencv-
win/1.0/OpenCV_1.0.exe/download
Add path C:\...\OpenCV\cv\include in the list Add path C:\...\OpenCV\cxcore\include in the list Add path C:\...\OpenCV\otherlibs\highgui in the list Library files Add path C:\...\OpenCV\lib in the list The above mentioned steps are to be done only once when first using OpenCV
Create a new VC++ project as Win32 console application Open menu item Project->Project Name Properties
OpenCVDemo Project
OpenCVDemo project demonstrates the basics of using
OpenCV library to
Load a sample image from a file Perform 5X5 Gaussian Filtering
OpenCVDemo\OpenCVDemo.sln
Thank you