在iPhone上实时面部跟踪 [英] Realtime Face-tracking on Iphone

查看:259
本文介绍了在iPhone上实时面部跟踪的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有谁知道目前哪个是实现iPhone实时面部跟踪解决方案的最佳库?我做过一项研究但是我发现了很多关于OpenCV移植的文章。我想知道是否有任何特定的,可靠的,快速的(可能是免费的)AR解决方案,用于实时叠加iPhone相机视频流中的图像(不仅仅是静态图像)

Does anybody know which,currently,is the best library for realizing a real time face-tracking solution for iPhone? I've done a research but I've found quite old articles about OpenCV portings. I would like to know if there is any specific,reliable,fast (and possibly free) AR solution for overlay in real time an image to the face in iPhone camera Video Stream (not simply a static image)

任何帮助(链接,教程)都会很棒。

Any help (link,tutorial) would be great.

谢谢大家!!

Elos

推荐答案

iOS 5 将面部识别带入本机功能。

iOS 5 brings facial recognition as a native feature.

基本上你只需配置一个对象作为视频输出流的委托(可能是您的控制器,例如)并使用 CIDetector 对象来处理此流(这是一个仅在 iOS 5 中可用的类)。

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).

CIDetector 对象将在每个视频的框架中查找面孔并返回 CIFaceFeature 对象,其中包含有关找到的面部的若干信息,例如眼睛和mounth位置以及界限(在里面找到面部的矩形)。

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).

您可以查看此博客了解更多实施细节:
https://web.archive.org/web/20130908115815/http://i.ndigo.com .br / 2012/01 / ios-facial-recognition /

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/

这篇关于在iPhone上实时面部跟踪的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆