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.
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.
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
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
© 2022 - 2024 — McMap. All rights reserved.