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)
Use .mm
flies instead of .m
(Objective-C++)
Add import:
#import <opencv2/opencv.hpp>
Just add line in your Podfile:
pod 'OpenCV'
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: 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/