Similar to fingerprint authentication for apps, i am trying to implement face recognition authentication in one of my android app. Can anyone guide me on how to achieve the same using any library or anything.

- 17,392
- 11
- 61
- 88

- 259
- 1
- 3
- 14
-
have you achieved this task? – Atif Amin Nov 21 '18 at 05:29
-
anyone did achieved this feature in android ? please share any helped resources regarding face recognition in android apps – Dolly Rosy Jan 09 '19 at 07:19
3 Answers
Android’s Face Recognition (Software) is less safe than Apple Face ID (Hardware)
Because of
- It doesn’t work in poor lighting conditions
- It is possible to unlock a phone with a picture
So, it’s more a convenience as a feature than a security.

- 17,392
- 11
- 61
- 88
-
2100% correct , beside , face recognition has already show field for to many raison , as twins case , pictures , present of galsses , etc i was working on an app for security with Oauth2 and fingerPrint + face recogniition , we drop the face side becouse is not a "big deal " in my vision , even the apple face ID is not working well that why you can focus on passwords ( tokens ) , + fingerprint( to 50% ) – MoxGeek Dec 18 '18 at 14:06
I think you should go for Android Face Detection API / Vision API
check for the documentation & tutorial
find the same on GitHub
There is also an library which I had heard about but I haven't tested it
You can have option for going with Firebase's new introduction: Firebase ML kit
Find documentation for ML kit > Face Recognition here

- 2,584
- 2
- 15
- 28
-
7Just a remark: Currently MLKit can **NOT** _recognize_ faces, it can only _detect_ them. That is not the same thing. If you want to add recognition on top of MLKit, I suggest using TensorFlow or similar. – thatbrainiac Dec 18 '18 at 13:33
If you really want to develop a real accurate Face authentication (such Apple's FaceID or Samsung's Face Recognition), try to find if you can access their API. If they don't open their API, you can't do it.
But, as starter, maybe you can use Azure's Facial Recognition. Read more
Or if you simply just want to detect faces, you can also use Firebase ML Kit. Read more

- 3,895
- 2
- 12
- 34