Skip to content

Latest commit

 

History

History
61 lines (33 loc) · 1.19 KB

README.md

File metadata and controls

61 lines (33 loc) · 1.19 KB

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/