Facial Recognition allows you to take a target image and search an entire database to find the closest match to the target.
FaceX recommends that if you are providing facial recognition as an authentication service, you need to add one target ID as an added safety measure.
A target ID can be a unique identification name/ number for each customer or email id. Depending on where you wish to store the images, this can be done with FaceAPI or Face Search.
Face Authentication Using FaceX image database: Face Search
If you require an easy way of creating and controlling an online image database, you can go for our Face Search API.
- When using the Face Search API, the images and one unique user id for the person has to be uploaded and registered in the FaceX user portal. You can register multiple images for one person (if your database permits the same.
- Once the registration is done, when John tries to log in, he will upload an image which you will send to a custom Face Search Image API and the API will compare John’s new picture with the images registered under his name and tell you if it’s a match or not.
User Authentication will be a customized change to the Face Search API, please contact us here to request for this change.
Face Authentication Using your own image database: Face Compare API (FaceAPI)
To read more about the Face Compare API, refer to the user guide for Face Compare here.
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 Compare API
- The Face Compare 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.