Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Face recognition & get similar faces from the database

In my application I'm going to implement an image search like Google image search. Only difference is here I'm searching only for human faces. Here's how it goes..

  • user take a picture of a person using the camera.
  • my app should identify the face of that person and get details from the image regarding the face (eg: colors).
  • Using those details app will do a search in the image database for similar faces.
  • Finally it'll display results to the user.

So I want to recognize faces using Android face recognition class and select that recognized area and save the details of that face into an array or a database.

I got few questions on above scenario.

  • what are the things I need from that image to do a proper image search?
  • Can I do it only using colors?
  • Do you have any idea on getting pixel details from that recognized face? I know how to do it on bitmap images. But i'm not sure that method still works with the face recognition class.

Can anyone explain those thing to me please?

like image 705
Ramesh Jaya Avatar asked Jan 28 '13 07:01

Ramesh Jaya


People also ask

Is face unlock safe in Android?

The good news is that you don't have to worry about it. Most operating systems that support biometric unlock methods employ specific measures to ensure that sensitive data, including your facial features and fingerprints, is stored securely.

Why is face recognition not working on Android?

Fix 5: Remove Face Data and Re-register Your Face This may help you with face recognition not working problem. To do that, simply follow the steps below. Navigate to Settings > Biometrics and security > Face recognition. Enter your passcode and on the next screen, tap on Remove face data and then tap Remove to confirm.


1 Answers

Use OpenCV's Recognition API.

I wrote a bit about how to set it up in another question.

like image 166
Brian Attwell Avatar answered Sep 29 '22 11:09

Brian Attwell