3

I'm trying to find out if there are any libraries or frameworks that will help with detecting facial features i.e. the eyes while video recording.

I tried using face.com api and THE CIDetector on IOS, but they only work on Images not video.

P.S. I'm developing for the iphone!

Kara
  • 6,115
  • 16
  • 50
  • 57
MidnightCoder
  • 709
  • 2
  • 9
  • 18

3 Answers3

3

Why not simply extract frames from the video as it is playing and use those in the CIFaceDetector? This site has some good info on how to get frames from video files on iOS:

http://www.7twenty7.com/blog/2010/11/video-processing-with-av-foundation

Tark
  • 5,153
  • 3
  • 24
  • 23
0

I've never used this on iOS/Mac OSX, but you should check the OpenCV library. Check this question for iOS support: iPhone and OpenCV

The library has built-in functions to detect faces, but I don't know if they are available on the iOS port.

Community
  • 1
  • 1
jpimentel
  • 694
  • 1
  • 7
  • 23
0

You're looking for Object detection and I would recommend OpenCV.

If you want an out-of-the-box example just check out this link :) There is fully functional sample code attached to the tutorial. You can use OpenCV for a lot more stuff than just face tracking – just dig into the documentation and some tutorials.

You can finde several cascade classifier here for partial face detection.

dom
  • 11,894
  • 10
  • 51
  • 74