Skip to content

Customize Face SDK Liveness Assessment UI

On this page, explore the customization capabilities available for the liveness assessment user experience. The liveness assessment process consists of several steps, and in every step there are elements that can be customized.

Start Screen

This is the initial screen that opens once the liveness assessment process starts. It provides basic instructions on how a person can prepare for the assessment, and the Go button.

Element Web Component Mobile: Android Mobile: iOS
Go button: Text color Supported Supported Supported
Go button: Background color Supported Supported Supported
Go button: Hover color Supported Not supported Not supported
Screen: Background color Not supported Supported Supported
Title text label: Color and font size Not supported Supported Supported
Subtitle text label: Color and font size Not supported Supported Supported
Hint text labels: Color and font size Not supported Supported Supported
Images Supported Supported Supported

For example, here is a comparison of a default screen and a customized one:

Default Face SDK start screen

User-Triggered Capture

If the captureButton parameter is set to true, before the session starts, a screen with the Take a selfie button appears. See more details on the Web Components UI customization page.

Customization is available for face circle outline color and the active Capture button color.

Here is a comparison of a default screen and a customized one:

Default Face SDK capture button

Session

The liveness assessment session is accompanied by an animation that demonstrates how to turn one's head. A blurred image of a person's face is displayed within a circle with animated and textual hints illustrated by colored target sectors around the circle.

Element Web Component Mobile: Android Mobile: iOS
Animated hint: Face color Not supported Not supported Not supported
Animated hint: Background color Not supported Not supported Not supported
Textual hint: Font size Not supported Supported Supported
Textual hint: Text color Supported Supported Supported
Textual hint: Background color Supported Supported Supported
Face circle: Outline color Supported Supported Supported
Target sector: Color Supported Supported Supported
Turn on/off the Switch Camera button Supported Not supported Not supported
Toolbar (Light): Tint color Not supported Supported Supported
Toolbar (Dark): Tint color Not supported Supported Supported

For example, here is a comparison of a default screen and a customized one:

Default Face SDK face capture screen

Default Face SDK liveness assessment screen

Loading Results

During the loading of results, a processing spinner and a text are displayed.

Element Web Component Mobile: Android Mobile: iOS
Processing spinner: Color Supported Supported Supported
Screen background: Color Not supported Supported Supported
Text label: Color, font size Not supported Supported Supported
Animation style Not supported Not supported Not supported

For example, here is a comparison of a default screen and a customized one:

Default Face SDK processing progress screen

Result Screen

Depending on the result, either a Success or Retry result screen will be displayed in the final step.

Success

Element Web Component Mobile: Android Mobile: iOS
Screen background: Color Not supported Supported Supported
Success image Supported Supported Supported

Retry

The Retry screen provides guidelines on how to prepare for another attempt.

The reason why a person may not successfully pass the liveness assessment can be attributed to either the subject (for example, smiling, closed eyes, sunglasses, mask, headwear, etc.) or the environment (for example, problems with lighting, shadows, glare).

An image and a text label are provided for each of these cases. If the problem encompasses both cases, images and hints for both cases will be displayed.

Element Web Component Mobile: Android Mobile: iOS
Screen background: Color Not supported Supported Supported
Title text label: Color and font size Not supported Supported Supported
Subtitle text label: Color and font size Not supported Supported Supported
Hint text label: Color and font size Not supported Supported Supported
Subject retry image Supported Supported Supported
Environment retry image Supported Supported Supported
Try again button: Text color Supported Supported Supported
Try again button: Background color Supported Supported Supported
Try again button: Hover color Supported Not supported Not supported
Try again button: Font size Not supported Supported Supported

For example, here is a comparison of a default screen and a customized one:

Default Face SDK error screen

Advanced Customization

Besides the basic customization, you can additionally customize labels, buttons, and images.

Element Web Component Mobile: Android Mobile: iOS
Label Not supported Supported Supported
Button Not supported Supported Supported
Image Not supported Supported Supported

Texts Localization

You can translate or adapt texts used in the process.

Element Web Component Mobile: Android Mobile: iOS
Text labels Supported Supported Supported

Process Management

Also, you can choose whether or not to display the start and result screens, control the ability to interrupt the process and enable user-triggered capture.

Element Web Component Mobile: Android Mobile: iOS
Disable interruptions (remove the Close cross button) Supported Supported Supported
Disable the start screen Supported Supported Supported
Disable the result screen Supported Supported Supported
Enable user-triggered capture Supported Not supported Not supported

Customization Guides

Mobile

Web Components