![]()
OpenCV is a powerful library for image processing and computer vision. How to use it on iOS? First, build the source code, OpenCV-2.2.0.tar.bz2, to get static library file. Then, open your Xcode project and import those static library file.
Building OpenCV for iPhone in one click that provide a shell script file to build library for OpenCV cross compile, but the script doesn't include armv6 architecture. I rewrite the script to build armv6 and armv7 arch. and lipo together.
Building Step:
1. Download the OpenCV Unix source code.
2. Unarchive the file to the folder, trunk/opencv/.
3. Enter: sh BuildOpenCV.sh trunk/opencv/ opencv_ios_build
Finally, you will get the include h file and library file in opencv_ios_build folder.
Download script file
2012-02-10 Update: Aptogo Blog had build OpenCV iOS Framework.


