• Stars
    star
    184
  • Rank 209,187 (Top 5 %)
  • Language
    Objective-C
  • License
    MIT License
  • Created about 10 years ago
  • Updated almost 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

CIDetector with streaming video

DSFacialGestureDetector

In iOS7 Apple introduced new face features detection to the CIDetecor.

CIDetectorEyeBlink, CIDetectorSmile

Ever since i was wondering if i could "feed" it streaming video and maybe make NEW kind of gestures- facial gestures.

Installing:

Using cocoapods:

pod 'DSFacialGestureDetector'

or import all the files under the Detector directory to your project.

Using:

In your view controler:

  1. #import <DSFacialGestureDetector/DSFacialGesturesDetector.h>

  2. implement: <DSFacialDetectorDelegate>

  3. init:

self.facialGesturesDetector = [DSFacialGesturesDetector new];
self.facialGesturesDetector.delegate = self;
self.facialGesturesDetector.cameraPreviewView = self.cameraPreview;
NSError *error;
[self.facialGesturesDetector startDetection:&error];

See also example project.