Face Authentication using database on your server

Step 1: User registers their photo with your website.

  • When your user signs up and opts in for facial recognition, allow them to register a clear image against their account.
  • This Photo will be registered against their unique identification number/name and email id.

Step 2: User logs-in the next time

  • When the user logs in for the second time, they will be required to give their ID number/ email ID
  • The user will then be asked to click a target photo (our APIs work with images only)

Step 3: Authentication

  • Your application will retrieve the photo registered against the user’s email ID.
  • The newly clicked target phot and the user’s registered image will be posted to the Face Match API
  • The Face Match API will provide a response if the images match or not
  • If the images match, the person can be allowed to log in
  • If the images don’t match, prompt them to try again.


With an authentication service, when John tries to log in to your website, his photo will be compared to only his registered image. If John submits a blurred image that cannot be identified as his face, then the application will prompt him to try again. When John’s picture is matched against his registered photo, he gains access to his own account.

Further Reading

Please refer to the user guide section on Face Match API

Related Articles
Post a Comment