The purpose of the liveness check is to ensure that the person undergoing the identity verification process is a real human being and not an image, a video or an attempt at fraud. This stage is performed to prevent the use of falsified photographs or videos and to protect the integrity of the KYC process.
During this stage, biometric validation will be performed to confirm that the person interacting with the system is actually who they say they are. Using advanced facial detection technologies, this check ensures that only real people can complete the identification process.
To use this step, a 5 second video with a person's face to validate is required. It's essential that the person doesn't wear accessories and that the video have good light.
That video should be converted to Base64 Before being sent to service. Thus, it's crucial to conduct the video encoding process to secure its proper transmission and processing.
Realizes next call API To conduct the life check process.
URL
POST https://api.sandbox.jaak.ai/api/v1/liveness/verify-and-bestframe
Leader
Authorization: Bearer token-session-kyc
| Field | Type | Required | Description |
|---|---|---|---|
| Authorisation | string | Yes | The Session Token should be sent at this headquarters KYC That's been obtained from the exchange with Short Key |
Request
{
"video": String
}
| Field | Type | Withdrawal |
|---|---|---|
| video | string | Video of person sent in Base64 format |
Answer
{
"eventId": String,
"requestId": String,
"processTime": String,
"score": Double,
"bestFrame": String,
"state": {
"isRealPerson": Boolean,
"message": String
}
}
| Field | Type | Description |
|---|---|---|
| event | string | ID for traceability of event details. |
| request | string | ID for demand traceability. |
| ProcessTime | string | Test processing time for milliseconds. |
| score | double | Results from different checks about video processing. |
| bestFrame | string | Detects best photo of video and generates an image in Base64 format |
| status | Object | The detailed status of the life check processing. |
Object * state *
| Field | Type | Description |
|---|---|---|
| isRealPeru | boolean | That flag represents if the person in the video is real and approves of life check. |
| message | string | It provides additional details in case of errors or discrepancies with expected results. |
The true value * of property * state.isRealPerson *, within the * Response * of the Liveness detection call, confirms that the verification was successful and there was no attack.
Also, the same answer returns us a property called * bestFrame *, that's used to get the best frame of the video, that's to say, with the person with best place, light, etc. That frame will be used at the next step.