Face Recognition Verification

In this guide we will explain the steps to create an identity process with a facial recognition verification.

1. Create an enrollment

First we must create a user record for face verification, this is done using the enrollment API, the type of enrollment must be face-recognition, Below is an example of how to create an enrollment.

Create enrollment example

The next step is to upload the image that will be used as the basis for the user face verification, the link that should be used to upload the image is the one that comes in the file_upload_link field that was obtained in the enrollment creation response, as shown in the reference image below.

Upload picture example

2. Generate a temporary token

Finally, you must generate a temporary token so that your user can perform the face verification through a web browser using the account API, it is important to define the following field start_variables.enrollment.account_id when generating the temporary token as shown in the image below.

Generate API key example

The value of the start_variables.enrollment.account_id field must be the account_id generated or assigned in the previous step.

Now your users will be able to verify through the browser using the following URL https://identity.truora.com/?token=<api_key>, the api_key field refers to the token generated in the previous step.

For more information on web verification of users see the Getting Started section in the documentation..