Download
opencv setting up your environment n.
Skip this Video
Loading SlideShow in 5 Seconds..
OpenCV : Setting up your environment PowerPoint Presentation
Download Presentation
OpenCV : Setting up your environment

OpenCV : Setting up your environment

89 Views Download Presentation
Download Presentation

OpenCV : Setting up your environment

- - - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript

  1. OpenCV: Setting up your environment Presented by hankkuo

  2. Tools for development • An integrated development environment • Visual studio .Net2010 C++ Express • Eclipse • Vim, etc… • A computer vision library • OpenCV • EmguCV • Aforge.Net

  3. Computer vision library -- OpenCV • You can find OpenCV 2.2 here: • http://sourceforge.net/projects/opencvlibrary/files/

  4. Choose vs2010 package or source ball

  5. Double click to start installation

  6. Must agree with the license

  7. Choose the second one

  8. Choose the location you want

  9. Menu shortcut?

  10. Full installation

  11. Installing..

  12. Done!!

  13. It’s there

  14. Install VS .Net C++ 2010 Express • Download free here:http://www.microsoft.com/express/Downloads/

  15. Just follow the instructions

  16. You have to accept the license terms

  17. Don’t select SQL server 2008

  18. Choose the directory you want

  19. Installing progress

  20. Reboot now!!

  21. Finish some remaining process

  22. Done!! Windows update

  23. Compile OpenCV (Ex. MacOSX) Get the latest tar ball of the source code Extract the tar ball

  24. Configure by CMake

  25. Generate Makefile by CMake Fill in other library’s path if you want the functions, such as OpenNI, PrimeSense

  26. make –j8sudo make install

  27. Open it!!

  28. New project

  29. project initialization

  30. Detail settings

  31. Project properties

  32. VC++ directories settings

  33. Add libraries to linker settings opencv_calib3d220d.lib opencv_contrib220d.lib opencv_core220d.lib opencv_features2d220d.lib opencv_ffmpeg220d.lib opencv_flann220d.lib opencv_gpu220d.lib opencv_highgui220d.lib opencv_imgproc220d.lib opencv_legacy220d.lib opencv_ml220d.lib opencv_objdetect220d.lib opencv_video220d.lib

  34. Add main.cpp to the project

  35. Hello world!!

  36. Hello world!!

  37. Recommended References & Forums • Open Computer Vision Library (Sourceforge) • http://sourceforge.net/projects/opencvlibrary/ • OpenCV Official Forum • http://tech.groups.yahoo.com/group/OpenCV/ • OpenCV Wiki • http://opencv.willowgarage.com/wiki/ • OpenCV中文網站 • http://www.opencv.org.cn/index.php/ • 優質OpenCV教學網 • http://yester-place.blogspot.com/ • Learning OpenCV: Computer Vision with the OpenCV Library (Paperback) • http://www.amazon.com/Learning-OpenCV-Computer-Vision-Library/dp/0596516134