Question

Now that face detection is possible with ios 5, i am just wondering is it also possible to detect blinking eyes? I read the frameworks, but i just got methods for getting the position of eyes. Also, i have heard of OpenCV framework for iphone which has face detection. Will i get my blinking work done by OpenCV framework??

Can anyone help me for some stuff on openCV or on face/blink detection?? All i require is blink detection on iphone/ipad.

Any suggestions/replies welcomed... Thanx.

EDITED : As iOS 5 is under NDA, please suggest me if this detection is possible via OpenCV framework??

Was it helpful?

Solution

You can detect the eyes with openCV.

Take a look here

http://opencv-code.com/OpenCV_Eye_Detection

From that, you can adapt your algorithm to track changes in the eye area, and find a way to formulate the blink of the eye based on these changes.

OTHER TIPS

Now in iOS 7, CoreImage supports eye blink. Here is the API diff from beta 2:

Here is the API diff in iOS 7 Beta 2:

CoreImage

CIDetector.h

Added CIDetectorEyeBlink

Added CIDetectorSmile

Hey in iOS 5 there is a class named CIDetector. There you can detect not only faces but its feature like left eye, mouth etc. Check the developer documentation for more details.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top