Identity Verification

Decentro provides capabilities to platforms to easily verify the identity of the customers and help identify if the customer's photographic identity is genuine like matching a selfie with that from a KYC document or verifying if the customer is actually in front of the app.

Face Match

Overview

Face match technology, also known as face recognition is used to compare one image having a face to one or more images having the face of the person. It uses deep learning, face match technology is capable to identify if the images with faces belong to the same person, and whether they are matching with a minimum threshold value or not.

Use Cases of Face Match

Face match technology, which can compare, verify and recognize faces within a fraction of seconds can be used for various purposes. Few of them are -

  • KYC (Know Your Customer)
  • Prevent Identity Fraud
  • Surveillance

Documents Supported

We support 3 formats as of now for Face Match API. They are -

  • JPEG
  • JPG
  • PNG

📘

Note

We will work on other formats in near future.

Face Match: Parameters and Description

Threshold - The confidence at which you want to verify the identity. The minimum threshold by default is 0.7. It can be modified to a max threshold of 0.95.

Image Size - The maximum size limit of image upload and URL is 6MB

Note - There are 3 ways to verify the images with Face Match-

  • Upload both images from the local device.
  • Provide URL to both the images.
  • Go hybrid, upload the first image, and then provide the URL to the second image or vice versa.
curl --location --request POST 'https://in.staging.decentro.tech/v2/kyc/forensics/face_match' \
--header 'client_id: <your_client_id>' \
--header 'client_secret: <your_client_secret>' \
--header 'module_secret: <your_module_secret>' \
--form 'reference_id="eefa-abs1-0001-8915"' \
--form 'consent="Y"' \
--form 'consent_purpose="for bank account purpose only"' \
--form '[email protected]"/path/to/file"' \
--form '[email protected]"/path/to/file"'
{
  "decentroTxnId": "DECXXXXXXXXXXXXXXXXXXXXXXXXXXX",
  "status": "SUCCESS",
  "responseCode": "S00000",
  "message": "Face scan completed successfully.",
  "data": {
    "status": "SUCCESS",
    "match": "95.00%"
  }
}

Liveness Verification

Liveness Verification is the ability to detect the presence of a live user, rather than a representation such as a photo, a fake video, or a mask.

  1. Various extensions supported for Liveness Verification API are -
  • .mp4
  • .webm
  1. The maximum file size limit (both on upload and URL) is 20 MB.
  2. The maximum duration of the video (both on upload and URL) is 10 sec.
curl --location --request POST 'https://in.staging.decentro.tech/v2/kyc/forensics/video_liveness' \
--header 'client_id: <your_client_id>' \
--header 'client_secret: <your_client_secret>' \
--header 'module_secret: <your_module_secret>' \
--form 'reference_id="02a05f79-4d10-47d6-89a9-6e5b54160e3e"' \
--form 'consent="true"' \
--form 'consent_purpose="for bank account purpose only"' \
--form '[email protected]"/path/to/file"' \
--form 'video_url=""'
{
  "decentroTxnId": "DECXXXXXXXXXXXXXXXXXXXXXXXXXXX",
  "status": "SUCCESS",
  "responseCode": "S00000",
  "message": "Liveliness check performed successfully",
  "data": {
    "status": "SUCCESS",
    "confidence": "1.0"
  }
}