Realtime Face-tracking on Iphone [closed]

泄露秘密 提交于 2019-11-29 23:23:03

iOS 5 brings facial recognition as a native feature.

Basically you just have to configure an object to act as your the video output stream’s delegate (could be your controller, for example) and use a CIDetector object to process this stream (which is a class available only in iOS 5).

This CIDetector object will look for the faces in each of your video's frame and return a CIFaceFeature object with several information about the faces found, such as the eyes and mounth position and also the bounds (the rectangle that the face was found inside).


You can check this blog for more implementation details: https://web.archive.org/web/20130908115815/http://i.ndigo.com.br/2012/01/ios-facial-recognition/

https://github.com/beetlebugorg/PictureMe a starting point... he's using opencv.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!