niw / iphone_opencv_test
- Source
- Commits
- Network (6)
- Issues (0)
- Downloads (0)
- Wiki (3)
- Graphs
-
Branch:
master
| name | age | message | |
|---|---|---|---|
| |
.authors | Thu Mar 05 10:08:27 -0800 2009 | |
| |
.gitignore | Sun Jan 03 20:13:22 -0800 2010 | |
| |
Classes/ | Thu Dec 25 13:21:38 -0800 2008 | |
| |
Default.png | Fri Dec 26 04:11:45 -0800 2008 | |
| |
Default_source.png | Fri Dec 26 04:11:45 -0800 2008 | |
| |
Icon.png | Mon Jan 05 10:53:18 -0800 2009 | |
| |
Icon_source.png | Mon Jan 05 10:53:18 -0800 2009 | |
| |
Info.plist | Mon Jul 28 09:23:01 -0700 2008 | |
| |
MIT-LICENSE.txt | Sun May 31 06:43:23 -0700 2009 | |
| |
MainWindow.xib | Mon Jan 05 10:53:18 -0800 2009 | |
| |
OpenCVTest.xcodeproj/ | Sun Nov 15 00:53:07 -0800 2009 | |
| |
OpenCVTest_Prefix.pch | Mon Jul 28 05:10:14 -0700 2008 | |
| |
README.md | Sun Nov 15 00:07:07 -0800 2009 | |
| |
Tink.aiff | Thu Dec 25 13:21:50 -0800 2008 | |
| |
configure_opencv | Mon Dec 21 01:58:58 -0800 2009 | |
| |
cvcalibration.cpp.patch_opencv-1.1.0 | Sat Nov 14 22:19:31 -0800 2009 | |
| |
cvcalibration.cpp.patch_opencv-2.0.0 | Sat Nov 14 22:19:31 -0800 2009 | |
| |
laughing_man.ai | Mon Jul 28 19:55:40 -0700 2008 | |
| |
laughing_man.png | Mon Jul 28 19:55:40 -0700 2008 | |
| |
lena.jpg | Mon Jul 28 05:10:14 -0700 2008 | |
| |
main.m | Mon Jul 28 05:10:14 -0700 2008 | |
| |
opencv_device/ | Sun Nov 15 00:33:13 -0800 2009 | |
| |
opencv_simulator/ | Sun Nov 15 00:33:13 -0800 2009 |
Using OpenCV on iPhone
This source repository includes pre-compiled OpenCV library and headeres so that you can get started easily! More documents you can see on this article.
Building Static Link Version of OpenCV
If you want to build it from source code, you can do by next steps.
Clone this project from github.com, then move into the project directory
% git clone git://github.com/niw/iphone_opencv_test.gitGetting source code from sourceforge. I tested with OpenCV-2.0.0.tar.bz2.
Extract downloaded archive on the top of project project directory
% tar xjvf opencv-2.0.0.tar.bz2Apply patch for iPhone SDK
% cd OpenCV-2.0.0 % patch -p0 < ../cvcalibration.cpp.patch_opencv-2.0.0Following next steps to build OpenCV static library for simulator
% cd OpenCV-2.0.0 % mkdir build_simulator % ../../configure_opencv % make % make install # Install all files into ../../opencv_simulatorFollowing next steps to build OpenCV static library for device
% cd OpenCV-2.0.0 % mkdir build_device % ARCH=device ../../configure_opencv % make % make install # Install all files into ../../opencv_device
Patch and Configure support script
OpenCV 2.0.0 (and also 1.1.0) has a glitch which refuse builing the library with iPhone SDK.
You need to apply the patch cvcalibration.cpp.patch so that you can build it.
Congiure support script configure_opencv has some options to build OpenCV with iPhone SDK.
Try to --help option to get the all options of it.
Change Log
- 11/15/2009 - Support OpenCV to 2.0.0 + iPhone SDK 3.x
- 03/14/2009 - Release this project with OpenCV 1.0.0 + iPhone SDK 2.x
