如何在iOS上执行面部识别? [英] How can I perform facial recogntion on iOS?

查看:360
本文介绍了如何在iOS上执行面部识别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开始研究iOS应用程序,它可识别照片或iPhone / iPad相机中的脸部。

I've started work on an application for iOS that would recognize faces from a photo or from the iPhone / iPad camera.

OpenCV和Core Image等现有解决方案(在iOS 5.0中)在图像中提供面部检测,但我找不到与人脸相匹配的库或示例。

Existing solutions like OpenCV and Core Image (in iOS 5.0) provide facial detection within an image, but I can't find a library or example that matches a face with a person.

iOS是否存在执行面部识别而不仅仅是检测的方法?

Does such a means of performing facial recognition, not just detection, exist for iOS?

推荐答案

在iOS 5上,您可以为该任务使用CoreImage(CIDetector,CIFeature,CIFaceFeature应该被命名为相关关键字)。查看来自Apple的SquareCam示例应用程序,它包括面部检测。如果你的目标是较旧的iOS版本,openCV似乎是一个很好的方法。

On iOS 5 you can use CoreImage (CIDetector, CIFeature, CIFaceFeature should be named as the relevant keywords) for that task. Check out the SquareCam example App from Apple, it includes face detection. If you're targeting older iOS versions, openCV seems to be a good approach.

http://developer.apple.com/library/ios/#samplecode/SquareCam/Introduction/Intro.html

编辑_:Argh,soory。 CoreImage只能检测面部但不能识别它们。但也许你可以建立一个基于CoreImage的解决方案......

Edit_: Argh, soory. CoreImage can only detect faces but not recognize them. But maybe you can build a solution based on CoreImage...

这篇关于如何在iOS上执行面部识别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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