OpenCV-iOS

用于构建 iOS 框架和 Pod 的 OpenCV(开源计算机视觉库)。「 OpenCV (open source computer vision library) just builded iOS framework and Pod 」

Github stars Tracking Chart

适用于 iOS 的 OpenCV

仅编译适用于 iOS 的 OpenCV 框架。

更新:Pod 现在使用从此处下载的框架,该框架支持64位和32位。 64位编译不起作用,遇到了此处提到的相同问题。

有不同的版本(请参见标签)

用法:

使用 .mm 文件名代替 .m(Objective-C++)

添加 import:

#import <opencv2/opencv.hpp>

使用 Cocoapods 安装

只需在您的 Podfile 中添加一行即可:

pod 'OpenCV'

手动安装

下载 opencv2.framework 并将其添加到您的项目中

还向您的项目添加以下框架:

  • Accelerate
  • AssetsLibrary
  • AVFoundation
  • CoreGraphics中
  • CoreImage
  • CoreMedia
  • corevideo的
  • QuartzCore
  • UIKit
  • Foundation

还需添加以下库:

  • libc++.dylib

OpenCV 自述文件

(First edition: vz edited at 2019.09.22)

Main metrics

Overview
Name With OwnerFl0p/OpenCV-iOS
Primary LanguageC++
Program languageRuby (Language Count: 4)
PlatformiOS, Mac
License:Other
所有者活动
Created At2013-02-06 18:36:11
Pushed At2016-03-23 07:52:02
Last Commit At2014-01-24 17:45:25
Release Count5
Last Release Name2.4.8 (Posted on )
First Release Name2.4.3.2 (Posted on )
用户参与
Stargazers Count125
Watchers Count11
Fork Count41
Commits Count29
Has Issues Enabled
Issues Count11
Issue Open Count4
Pull Requests Count5
Pull Requests Open Count3
Pull Requests Close Count1
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private

OpenCV for iOS

Just Compilled OpenCV framework for iOS.

Update: Pod now uses framework downloaded from here, which supports 64 and 32-bit. Compiling for 64-bit didn't work, ran into same problems mentioned here.

Have different versions (see tags)

Usage:

Use .mm flies instead of .m (Objective-C++)

Add import:

#import <opencv2/opencv.hpp>

Installation with Cocoapods

Just add line in your Podfile:

pod 'OpenCV'

Instalation Manually

Download and add opencv2.framework to your project

Also add following frameworks to your project:

  • Accelerate
  • AssetsLibrary
  • AVFoundation
  • CoreGraphics
  • CoreImage
  • CoreMedia
  • CoreVideo
  • QuartzCore
  • UIKit
  • Foundation

Also add following libs :

  • libc++.dylib

OpenCV README

OpenCV: open source computer vision library

Homepage: http://opencv.org

Online docs: http://docs.opencv.org

Q&A forum: http://answers.opencv.org

Dev zone: http://code.opencv.org

Download: http://sourceforge.net/projects/opencvlibrary/files/opencv-ios/