Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use face authentication using Biometric api

I used fingerprint authentication using Biometric api and its working.I need to do the same for face recognition ,like for a login button click instead of password i'll be using face authentication .

So is it possible with Biometric api or I have to use Open cv?

like image 497
Sandeep Dhami Avatar asked Jan 25 '23 10:01

Sandeep Dhami


1 Answers

You can authenticate all form factors (i.e. face, iris, fingerprint, etc.) using the AndroidX Biometric library as explained in this blog post and this blog post. Essentially, your app is not responsible for targeting specific form-factors. The library does the work for you. If a device supports facial biometrics, then your user will see a prompt for facial authentication; if your device supports fingerprint biometrics, then your user will see a prompt for fingerprint authentication; and so on.

like image 105
Isai Damier Avatar answered Feb 11 '23 23:02

Isai Damier