Skip to main content
The Liveness Verification module determines whether a real, physically present person was in front of the camera at the point the selfie photograph was taken. It detects presentation attacks such as:
  • Attempts to spoof the verification process using a printed photograph
  • A screen replay
  • A video recording
  • A 3D mask
  • A digitally injected (deepfake) image.
The module returns a confidence score indicating the likelihood that the captured selfie represents a genuine, live person. The module has two variants. Both analyse a selfie image to confirm genuine presence, but they differ in result type and detection scope.
The V2 variant analyses a selfie image captured during the onboarding journey and produces a score that reflects the system’s confidence in the subject’s genuine presence at the point the selfie photograph was taken. It detects presentation attacks such as printed photographs, screen replays, video recordings, and 3D masks, and is also supported as a standalone module.

Capabilities

The module returns a single capability: a liveness score.

Liveness score

Returns an integer score from 0 to 100 indicating the system’s confidence that the selfie was captured from a real, physically present person at the time of the photograph. A higher score indicates greater confidence that the selfie is genuine. A score of 0 indicates the check could not produce a result and should be treated as inconclusive rather than a definitive failure.A higher score indicates greater confidence that the selfie is genuine. A lower score indicates a higher likelihood that the image is a presentation attack or does not represent a live person.The score reflects the combined output of multiple analysis signals, which may include
  • Texture analysis: Detecting the flat, reflective surface of a printed photo or screen.
  • Depth estimation: Distinguishing a three-dimensional face from a two-dimensional image.
  • Edge and boundary detection: Identifying the borders of a held-up photograph or device screen.
  • Digital injection detection: Identifying images that weren’t captured by the device camera but inserted into the capture pipeline programmatically.
A score of 0 indicates that the liveness check could not produce a result. This may occur if the selfie image was corrupted, if no face was detected in the image, or if a system error prevented analysis. Evaluation rules should treat a score of 0 as an inconclusive result rather than a definitive failure.

Default outcomes

The module uses score thresholds to classify the liveness result into one of three outcomes. These thresholds are pre-configured as default outcomes and can be used in evaluation and routing logic within the journey designer.

Input payload

The following is a sample payload used to submit a selfie image to the Liveness Verification V2 variant for processing.
JSON

Sample response

The following is a sample response for a successful liveness check from the Liveness Verification module.
JSON
The Liveness Verification with Injection Attack Detection variant extends the standard liveness check with an additional layer of security that detects injection attacks at the capture level, where an image is programmatically inserted into the capture pipeline rather than captured through the device’s camera. Requires an EncryptedSelfie input with selfieImageEncryption set to true.

Capabilities

The module returns two capabilities: a face liveness result and an injection attack detection result.

Face liveness result

Indicates whether the face in the selfie is determined to be live, meaning a real, physically present person was in front of the camera at the time of capture.

Injection attack detection result

Indicates whether an injection attack was detected during the selfie capture process. An injection attack occurs when an image is programmatically inserted into the capture pipeline rather than being captured through the device’s camera in real time.

Default outcomes

The module combines the face liveness result and the injection attack detection result to produce an overall outcome. These default outcomes can be used in evaluation and routing logic within the journey designer.

Input payload

The following is a sample payload used to submit an encrypted selfie image to the Liveness Verification with Injection Attack Detection variant for processing.
JSON

Sample response

The following is a sample response for a successful check from the Liveness Verification with Injection Attack Detection variant.
JSON

Capabilities

Liveness score

Returns an integer score from 0 to 100 indicating the system’s confidence that the selfie was captured from a real, physically present person at the time of the photograph. A higher score indicates greater confidence that the selfie is genuine. A score of 0 indicates the check could not produce a result and should be treated as inconclusive rather than a definitive failure.

Input payload

The following is a sample payload used to submit data to the Liveness Verification module for processing.
JSON

Sample response

The following is a sample response returned by the module.
JSON