环境
2017-02-12 本文已影响8人
不适合推塔

下载framework
首先下载openCV 的framework ,目前我们能找到的资料大部分是openCV 2.4 ,所以我们也下载openCV 2.4 以后再去研究其它的。
官网地址
创建项目
- 使用xcode 创建一个普通的项目,然后把framework 拖入工程中
-
添加openCV的一些依赖项
- 由于openCV 是用 c++ 写的,所有使用到openCV的文件改为.mm,不然编译会报错。

编译一下没有问题,我们就可以着手OpenCV的开发啦