开发人脸识别应用

Developing Face Recognition App

我是开发 android 应用程序的新手。 我正在尝试创建一个应用程序,给定特定图像,它会检测人脸并给我眼睛位置和其他信息。

我做了一些研究,发现了一些东西,例如 android FaceDetector API 和 OpenCV。

任何人都可以给我一些关于如何制作这样的应用程序的建议,或者给我发送一个 link 以及与此相关的任何信息,所有帮助都会很棒!

谢谢,丹尼尔。

我使用人脸识别有一段时间了。
如果你想使用 OpenCV,你可以在 SO 中做更好的搜索,你可以找到这样的东西 one.

对我来说最好的是 lockheed martin 提供的 SDK...但是对于一个人来说太贵了:S。

已编辑

"Face detection and face recognition are different things ;) Face detection tells you where is the face and face recognition tells you who's the owner of the face"

如果您选择 OpenCV,您可以在 official page 中找到完整的文档。
我要给你一个概述:

您可以使用 "OpenCV Manager" 或 "Static Initialization on OpenCV Android" 在您的应用中使用 OpenCV。

关于第一个:

OpenCV Manager is an Android service targeted to manage OpenCV library binaries on end users devices. It allows sharing the OpenCV dynamic libraries between applications on the same device. The Manager provides the following benefits:

  1. Less memory usage. All apps use the same binaries from service and do not keep native libs inside themselves;
  2. Hardware specific optimizations for all supported platforms;
  3. Trusted OpenCV library source. All packages with OpenCV are published on Google Play market;
  4. Regular updates and bug fixes;



关于第二个:
complete tutorial 使用 eclipse。

您可以试试新的 Android 面孔 API。请参阅此处有关如何检测人脸和面部标志的教程:

https://developers.google.com/vision/detect-faces-tutorial

我在 this article. I used a TensorFlow Lite with a MobileFaceNet 实施中解释了如何做到这一点,以惊人的速度获得非常准确的结果。

您将在 this repo

中找到 源代码APK