人脸检测中的Andr​​oid? [英] Face Detection in Android?

查看:117
本文介绍了人脸检测中的Andr​​oid?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前工作的一个实验相机应用。我在寻找到实现人脸检测,此刻,我目前权衡我的选择。

我已经考虑可用于Android,并使用他们的人脸检测功能OpenCV的端口,但是从演示我已经看到了previous实现,相机似乎滞后了许多。

考虑在HTC Desire的摄像头也脸部侦测的支持,我知道它必须能够获得至少一个半体面的人脸检测系统的地方。我只是想知道如果任何人对我怎么能得到最好的结果的意见...使用可用的库?实现一个特定的算法自己?

解决方案
  1. 尝试 FaceDetector 在Android SDK。它返回的骨形成蛋白脸的位置和角度。但它不是非常快。

    下面是一个实时人脸检测样品使用FaceDetector和OpenGL(绘制矩形)它工作在Android 2.2的。

  2. OpenCV的Andr​​oid中

    您想在Linux上更好地试试这个(我试过在Windows上,但没有成功)。

  3. JavaCV (强烈推荐)

    有使用相机的实时人脸检测的样本code。请参阅javacv-SRC - *拉链的下载页面上

I am currently working on an experimental camera app. I'm looking into implementing face detection at the moment and am currently weighing up my options.

I have considered the OpenCV port available for Android and using their face detection functions, but from demos I have seen of previous implementations, the camera seems to lag a lot.

Considering the camera on the HTC Desire has face detection support, I know it must be possible to get at least a semi-decent face detection system in place. I was just wondering if anyone had an opinion on how I could get the best results... Using an available library? Implementing a particular algorithm myself?

解决方案

  1. Try FaceDetector in the Android SDK. It returns face positions and angles in BMPs. But it's not very fast.

    Here's a realtime face detection sample using FaceDetector and OpenGL (draws rectangles) which works in Android 2.2.

  2. OpenCV in Android

    You'd better try this on Linux (I've tried it on Windows, but failed).

  3. JavaCV (strongly recommended)

    There is a sample code of realtime face detection using the camera. See "javacv-src-*.zip" on the download page.

这篇关于人脸检测中的Andr​​oid?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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