Skip to main content

Veritran Docs

Template Verifier

This function compares a template already stored in the device with an instantly captured image of the user for verification.

Parameter Configuration

This function doesn't require the configuration of any mandatory parameters. Read Input Registers to learn about any optional parameters you can configure.

Function ID

Register

Value

110

5

Input Registers

Register

Description

Mandatory

Value

390

Stored Template ID

By default, the ID is 'livenessCheck2Template'.

The value for the compression of images within this function is 70 by default and cannot be modified.

Output Registers

Register

Description

Value

112

Call Result

000

NO_ERROR

001

API_GENERIC_ERROR

002

API_WRONG_PARAMETERS_ERROR

003

API_SDK_NOT_INITIALIZED

004

INTERRUPTED

005

CAMERA_INIT_FAILED

006

CAMERA_ACCESS_FAILED

007

NO_CAMERA_PERMISSION

011

TEMPLATE_INCOMPATIBLE

290

Verification Score

The image captured to be compared with the template for verification will be saved in the app's 'templateVerifier' token.