Skip to content

Face SDK Integration

The integration of Face SDK to Document Reader adds an automatic face match and search by a portrait taken from the document (Visual Zone and RFID-chip) or a live owner photo.

To add the Face API integration, invoke:

{
    "processParam": {
        "useFaceApi": true
    }
}

Settings for the Face SDK can be defined either via JSON or environment variables:

How to configure via JSON

Face SDK integration environment variables

Note that values specified in JSON take priority. For example, if one service address is specified in the REGULA_FACEAPI_URL environment variable, and another address is specified in processParam.faceApi.url, the address in processParam.faceApi.url will be used.

Example request

Find it in the JSON file.

Next Steps