开发者

eye blink detection for iphone sdk

开发者 https://www.devze.com 2023-03-28 11:05 出处:网络
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

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 开发者_如何学Ciphone 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??


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


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.


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消