用于Objective-C的人脸检测API [英] Face Detection API for Objective-C

查看:93
本文介绍了用于Objective-C的人脸检测API的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这里有人知道用于Objective-C的面部检测API吗?我只想检测一张照片中的一个或多个人脸,因此不需要人脸识别.

Does someone here knows a face detection API for Objective-C? I just want to detect one or more faces inside a photo, so it's not necessary face recognition.

我想构建类似于iPhoto功能的功能,即在照片的所有面上都放置一个正方形.

I want to build something similar to the iPhoto's feature that puts a square on all faces in a photo.

如果该API也可以在iPhone应用程序上使用,那就太好了.

It would be nice if the API can be used on iPhone apps too.

致谢.

推荐答案

您最好的选择是查看以下 OpenCV Wiki提供了使用OpenCV进行面部检测的示例.我意识到它是用C编写的,但这可能是您将获得的最好的结果.

Your best bet is to look into the following tutorial. It outlines how to port OpenCV to the iPhone. Also the OpenCV Wiki has an example of using OpenCV for face detection. I realize that it is written in C but this is probably the best you are going to get.

这篇关于用于Objective-C的人脸检测API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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