Created
August 17, 2015 17:47
-
-
Save anguyen8/9726dd8efbc97477d959 to your computer and use it in GitHub Desktop.
Build OpenCV 3.0 on OSX to work with dlib
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local \ | |
-D PYTHON2_PACKAGES_PATH=~/anaconda/lib/python2.7/site-packages \ | |
-D PYTHON2_LIBRARY=~/anaconda/lib/libpython2.7.dylib \ | |
-D PYTHON2_INCLUDE_DIR=~/anaconda/include/python2.7 \ | |
-D INSTALL_C_EXAMPLES=ON -D INSTALL_PYTHON_EXAMPLES=ON \ | |
-D BUILD_opencv_gpu=OFF \ | |
-D OPENCV_EXTRA_MODULES_PATH=~/opencv_contrib/modules .. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment