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](http://niw.at/articles/2009/03/14/using-opencv-on-iphone/).
Building Static Link Version of OpenCV
--------------------------------------
If you want to build it from source code, you can do by next steps.
1. Building OpenCV 2.1 requiers [CMake](http://www.cmake.org/).
You can easily install it by using [MacPorts](http://www.macports.org/).
% sudo port install cmake
2. Clone this project from github.com, then move into the project directory
% git clone git://github.com/niw/iphone_opencv_test.git
3. Getting source code from sourceforge. I tested with [OpenCV-2.1.0.tar.bz2](http://sourceforge.net/projects/opencvlibrary/files/opencv-unix/2.1/OpenCV-2.1.0.tar.bz2/download).
4. Extract downloaded archive on the top of demo project directory
% tar xjvf OpenCV-2.1.0.tar.bz2
5. Apply patch for iPhone SDK
% cd OpenCV-2.1.0
% patch -p1 < ../OpenCV-2.1.0.patch
6. Following next steps to build OpenCV static library for simulator.
All files are installed into ``opencv_simulator`` directory.
When running ``make`` command, you've better assign ``-j`` option and number according to number of your CPU cores.
Without ``-j`` option, it takes a long time.
% cd ..
% mkdir build_simulator
% cd build_simulator
% ../opencv_cmake.sh Simulator ../OpenCV-2.1.0
% make -j 4
% make install
7. Following next steps to build OpenCV static library for device
All files are installed into ``opencv_device`` directory.
% cd ..
% mkdir build_device
% cd build_device
% ../opencv_cmake.sh Device ../OpenCV-2.1.0
% make -j 4
% make install
Build support script
--------------------
uild support script ``opencv_cmake.sh`` has some options to build OpenCV with iOS SDK.
Try ``--help`` option to get the all options of it.
Change Log
----------
* 08/22/2010 - Support OpenCV 2.1.0 + iOS SDK 4.x
* 12/21/2009 - Support Snow Leopard + iPhone SDK 3.1.2, Thank you Hyon!
* 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
没有合适的资源?快使用搜索试试~ 我知道了~
IOS源码之【类库】Using OpenCV on iPhone(适用OpenCV 2.1.0_iOS SDK 3.x_4.x)
共68个文件
h:28个
hpp:11个
png:5个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 185 浏览量
2022-07-12
15:28:30
上传
评论
收藏 11.08MB RAR 举报
温馨提示
IOS应用源码之【类库与框架】Using OpenCV on iPhone(适用于 OpenCV 2.1.0_iOS SDK 3.x_4.x)
资源推荐
资源详情
资源评论
收起资源包目录
IOS应用源码之【类库与框架】Using OpenCV on iPhone(适用于 OpenCV 2.1.0_iOS SDK 3.x_4.x).rar (68个子文件)
【类库与框架】Using OpenCV on iPhone(适用于 OpenCV 2.1.0_iOS SDK 3.x_4.x)
iphone_opencv_test
Readme.txt 2KB
niw-iphone_opencv_test-4ab0572.zip 6.62MB
Readme.docx 18KB
niw-iphone_opencv_test-4ab0572
main.m 211B
Default.png 7KB
OpenCV-2.1.0.patch 2KB
Icon.png 4KB
Default_source.png 59KB
laughing_man.ai 193KB
OpenCVTest.xcodeproj
project.pbxproj 16KB
opencv_simulator
include
opencv
cvcompat.h 40KB
cv.hpp 46KB
cvaux.hpp 67KB
cvver.h 2KB
cxmisc.h 27KB
ml.h 71KB
cv.h 71KB
cvwimage.h 20KB
cxcore.hpp 81KB
cvaux.h 65KB
cxmat.hpp 150KB
cvinternal.h 6KB
cxerror.h 9KB
cxtypes.h 52KB
cvvidsurv.hpp 41KB
cxcore.h 76KB
cvtypes.h 11KB
cxflann.h 7KB
lib
libcxcore.a 2.58MB
libcv.a 3.67MB
OpenCVTest_Prefix.pch 181B
Icon_source.png 64KB
MIT-LICENSE.txt 1KB
.gitignore 160B
laughing_man.png 20KB
Info.plist 944B
.authors 34B
README.md 2KB
opencv_device
include
opencv
cvcompat.h 40KB
cv.hpp 46KB
cvaux.hpp 67KB
cvver.h 2KB
cxmisc.h 27KB
ml.h 71KB
cxoperations.hpp 88KB
cv.h 71KB
cvwimage.h 20KB
cxcore.hpp 81KB
cvaux.h 65KB
cxmat.hpp 150KB
cvinternal.h 6KB
cxerror.h 9KB
cxtypes.h 52KB
cvvidsurv.hpp 41KB
cxcore.h 76KB
cvtypes.h 11KB
cxflann.h 7KB
share
opencv
lib
libcxcore.a 2.89MB
libcv.a 3.98MB
Tink.aiff 6KB
lena.jpg 68KB
Classes
OpenCVTestAppDelegate.m 397B
OpenCVTestAppDelegate.h 336B
OpenCVTestViewController.m 14KB
OpenCVTestViewController.h 2KB
MainWindow.xib 19KB
opencv_cmake.sh 3KB
【强烈推荐】Using OpenCV on iPhone.docx 446KB
共 68 条
- 1
资源评论
reg183
- 粉丝: 1811
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功