synth0
synth0

Reputation: 33

Developing Face Recognition App

i'm new to developing android apps in general. I'm trying to create an application that given a certain image it would detect faces and would give me the eye locations and other info.

I've done some research and i found some stuff such as, the android FaceDetector API and OpenCV.

Could anyone give me some advice on how to make an app like this or send me a link with any info related to this, all help would be great!

Thanks, Daniel.

Upvotes: 0

Views: 2897

Answers (3)

estebanuri
estebanuri

Reputation: 948

I explain how to do it in this article. I used a TensorFlow Lite with a MobileFaceNet implementation, achieving very accurate results and with surprisingly high speed.

You'll find the source code and an APK in this repo

enter image description here

Upvotes: 1

pm0733464
pm0733464

Reputation: 2862

You might try the new Android face API. See the tutorial here about how to detect faces and facial landmarks:

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

Upvotes: 1

MiguelHincapieC
MiguelHincapieC

Reputation: 5531

I have worked with Face recognition for a while.
If you want to use OpenCV you could do a better effort searching in SO and you can found things like this one.

The best one for me is the SDK provide by lockheed martin... but it's too expensive :S for a single person.

Edited

"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"

If you choose OpenCV, you can find full doc in official page.
I'm going to give you a overview :

You can use OpenCV in your app using "OpenCV Manager" or with "Static Initialization on OpenCV Android".

About the first one:

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;

usage model for end users



About the second one:
A complete tutorial using eclipse.

Upvotes: 4

Related Questions