1. Installing the Open CV
- http://opencv.willowgarage.com/wiki/ : Open CV Homepage contained the S/W and documents.
: I downloaded the Open CV 2.3.1 Windows Installation Version
2. Setting configurations on Visual Studio 2010
- Put below include directories on Project –> <ProjectName>Properties->VC++ Directories->Include Directories
: C:\Program Files\opencv\build\include\opencv, C:\Program Files\opencv\build\include\opencv2, C:\Program Files\opencv\build\include\
- Put library directories on Project –> <ProjectName>Properties->VC++ Directories->Library Directories
: C:\Program Files\opencv\build\x86\vc10\lib
- Add Open CV libraries on Project –> <ProjectName>Properties->Linker->Input
: opencv_core231d.lib; opencv_contrib231d.lib; opencv_calib3d231d.lib; opencv_features2d231d.lib; opencv_flann231d.lib; opencv_gpu231d.lib; opencv_haartraining_engined.lib; opencv_highgui231d.lib; opencv_imgproc231d.lib; opencv_legacy231d.lib; opencv_ml231d.lib; opencv_objdetect231d.lib; opencv_ts231d.lib; opencv_video231d.lib;
- Add the directory of the included Open CV DLLs into %path% on Start->My Computer->Properties->System Environments
: C:\Program Files\opencv\build\x86\vc10\bin
--> it was important because if not, you have to copy & paste all DLLs into project directory
3. Download TBB dlls
- A pre-compiled Open CV 2.3 only includes tbb.dll not tbb_debug.dll. Therefore, download it from the below link and put all of dlls and libs to the open cv bin folder.
: http://threadingbuildingblocks.org/file.php?fid=77 : Intel TBB download site.
PS. ‘CvvImage’ class isn’t defined over Open CV 2.2 versions
- Because its member functions, Load() and CopyOf() have some bugs.
: If you want to use it, you have to use under 2.1 versions. Moreover, you have to fix bugs used the below link.
No comments:
Post a Comment