Using OpenCV on iOS

| No TrackBacks

IMG_0765.jpg
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.

No TrackBacks

TrackBack URL: http://server.everfine.com.tw/blog/mt-tb.cgi/313

February 2012

Sun Mon Tue Wed Thu Fri Sat
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29      

Archives

Powered by Movable Type 4.34-en

About this Entry

This page contains a single entry by philipz published on April 7, 2011 9:30 AM.

台灣法拍屋行事曆 was the previous entry in this blog.

TestFlight - 封閉式的App版Github is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.