Sunday, 6 November 2011

INSTALLING OPENCV IN WINDOWS & INTEGRATING WITH VISUAL STUDIOS 2008

INSTALLATION
Following steps are to be followed to complete the installation and run the OpenCv in windows platform
 
 1) download the OpenCv libraries into the system from the link

 2) install OpenCv librabries in the windows system .while  installing ensure that the path of libaries are added                  to the current/all users .


3) provide the path where the OpenCv is to be installed and remember the path for future references
(say C:\OpenCV2.1 )

 3) check the installation by executing sample programs provided while OpenCv installation
 (say C:\OpenCV2.1\samples\c )

INTEGRATION



1.    Open VC++ Directories configuration: Tools > Options > Projects and Solutions > VC++ Directories
  1. 1.Choose "Show directories for: Include files 
       "Add  pathwhere opencv is installed\include\opencv" 
(say C:\OpenCV2.1\include\opencv) if my path is "C:\OpenCV2.1”
   





    2.Choose "Show directories for: Library files"
    1. Add "$openCVDir\lib"  (say C:\OpenCV2.1\lib)       


     


   3.Choose "Show directories for: Source files"
    1. Add "$openCVDir\src\cv" (say C:\OpenCV2.1\src\cv)
    2. Add "$openCVDir\src\cvaux" (say C:\OpenCV2.1\src\cvaux)
    3. Add "$openCVDir\src\cxcore" (say C:\OpenCV2.1\src\cxcore)
    4. Add "$openCVDir\src\highgui" ( say C:\OpenCV2.1\src\highgui)

No comments:

Post a Comment