Skip to content
OpenCV Xcode project for iOS build
C Objective-C C++
Find file



OpenCV-iOS makes it easy to build OpenCV for iOS. It contains a submodule that will pull a recent copy of the OpenCV source code. It also contains an Xcode project that builds OpenCV static libraries that you can add to your project.

How to checkout the project

In order to also checkout the OpenCV source code which is included as a git submodule, clone the project using the --recursive option:

git clone --recursive

If you've already cloned the project, run the following commands from within the OpenCV-iOS directory:

git submodule init
git submodule update

Adding OpenCV libraries to your project

(details pending)

Take a look at the SURF project in the examples directory, paying special attention to the Header Search Path build settings in the target of the Xcode project for an idea of how to integrate the OpenCV Libraries into our project using the OpenCV-iOS Xcode project to build the libraries on demand.

Something went wrong with that request. Please try again.