🥋0. OpenCV Build - option#2 hardest way
Contents
- preparation: OpenCV Build Step(1/3) : 준비 (preparation)
- cmake & build: OpenCV Build Step (2/3) : CMake 설정 및 빌드 시작
- set up & test: OpenCVBuild Step (3/3) : build, setting 그리고 예제코드 동작하기
1. Environment
- Window
- Visual Studio
- OpenCV 3.2
- Cuda Toolkit 8.0
- CMake 3.8.0
- TBB 2017
2. Preparation
- CMake: https://cmake.org/
- Opencv: https://github.com/opencv/opencv or https://github.com/opencv/opencv_contrib
- cuda: https://developer.nvidia.com/cuda-downloads
- tbb: https://www.threadingbuildingblocks.org/
3. Steps to Build
① Preparations: Install and download
- cmake, cuda, tbb, opencv
② Run cmake
- Set configuration
- Code Generation
③ Build by Visual Studio
- Build All
- Make dll, lib
④ OpenCV DLL test
- VS Setting
- Sample Test
4. CMake Setting
- TBB Setting
TBB_ENV_INCLUDE : /tbb2017_20170226oss_win/tbb2017_20170226oss/include/
TBB_ENV_LIB: /tbb2017_20170226oss_win/tbb2017_20170226oss/lib/intel64/vc14/tbb.lib
TBB_ENV_LIB_DEBUG : /tbb2017_20170226oss_win/tbb2017_20170226oss/lib/intel64/vc14/tbb_debug.lib
TBB_VER_FILE : /tbb2017_20170226oss_win/tbb2017_20170226oss/include/tbb_stddef.h
- OpenCV Contrib Setting
OPENCV_EXTRA_MODULES_PATH : /opencv_contrib-master/opencv_contrib-master/modules






Reference
http://darkpgmr.tistory.com/102 (korean)
https://chocolatey.org/packages/OpenCV
🙇🏻 Thank you!
🎁 Source code, Material(pdf) and example images: https://www.marearts.com/products/opencv-lecture-materials-1