EMCVLib Save

An OpenCV framework for iOS and macOS

Project README

EMCVLib

An OpenCV framework for iOS and macOS.

Usage

Needed iOS 8.0+.

Needed macOS 10.10+ and OpenCV 2.4.x.

iOS: Install OpenCV for iOS

Install OpenCV by using Cocoapods.

cd EMCVLib
pod install

macOS: Install OpenCV for macOS

Install OpenCV with brew:

We cannot use brew to install OpenCV due to this issue: [OpenCV #7833]

It'll crash when releasing camera in Cocoa application.

So we need to compile it by ourselves.

Headers should be here:

/usr/local/include/opencv

/usr/local/include/opencv2

Librarys should be here:

/usr/local/lib

Install the framework

Download the repo. Then drag the framework project to your project.

Functions

What can this framework does now?

  • Display image and play real-time processing video with customized filter.
  • Color convert. Channals split. Image flip, smooth, blending.
  • Edge Detection. Find extreme values and locations. Calculate and compare histograms.
  • Corener Harris. Shi-Tomasi. Optical Flow.
  • Matching algorithm: Template Match. Back Projection. SURF Match.

Screenshots

Some screenshots of the demo.

iOS Image Sample

Image Smooth

Image Blending

Threshold

Canny and Edge Detection

Corner Harris

Optical Flow

Template Match

SURF Match

Back Projection

History Compare

Tips

Use @autoreleasePool when doing loop can solve some memory problems.

Documents

API docs and bugs here.

  • [Bug] Bugs.

  • [API] EMCVFactory: A wrapped functions whitch can do some computer vision calculations.

  • [API] EMCVBasicImage: A wrapped basic image class.

  • [API] EMCVImage: A wrapped image class.

  • [API] EMCVSplitedImage: A wrapped multi channel image class.

  • [API] EMCVSingleImage: A wrapped single channel image class.

  • [API] EMCVFilter: A wrapped image filter.

  • [API] EMCVFilterOperation: A wrapped image operation by using block.

  • [API] EMCVVideoCapture: A wrapped video player class.

  • [API] EMCVVideoWriter: A wrapped video writer class.

  • [API] NSImageView + EMCVLib: A category of NSImageView.

  • [API] UIImageView + EMCVLib: A category of UIImageView.

Contect

Blog: http://enumsblog.com

Email: [email protected]

HAVE FUN! : )

Open Source Agenda is not affiliated with "EMCVLib" Project. README Source: enums/EMCVLib
Stars
97
Open Issues
0
Last Commit
6 years ago
Repository

Open Source Agenda Badge

Open Source Agenda Rating