Skip to content

Instantly share code, notes, and snippets.

@shunfunaki
Last active October 26, 2015 09:54
Show Gist options
  • Save shunfunaki/d2b94afad5fe494160b6 to your computer and use it in GitHub Desktop.
Save shunfunaki/d2b94afad5fe494160b6 to your computer and use it in GitHub Desktop.
MacのXcodeでopenCVのビルド

openCV

$ tar xvf opencv-2.4.11.tar.gz
$ cd opencv-2.4.11
$ mkdir build
$ cd build
$ cmake -G Xcode ..
$ open OpenCV.xcodeproj

Sample Application

$ git clone https://github.com/MasteringOpenCV/code.git
$ cd code
$ cd Chapter5_NumberPlateRecognition
$ mkdir build
$ cd build
$ cmake -G Xcode -D OpenCV_DIR="../../opencv-dir/opencv-2.4.11"
$ open ANPR.xcodeproj
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment