Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

livenessMoveSteps

Steps required for the Active Liveness check.

Details

Attribute: liveness-move-steps

Type: number

Allowed values: 0 or higher

Default value: 0

Morphology

selphi.livenessMoveSteps = 3;

Description

Number of active liveness check (liveness move) steps in facephi-selphi-widget. The value 0 disables this mode.

This mode activates a pre-capture phase in which the user must follow a series of instructions to prove they are a real person.

The value set corresponds to the number of instructions the user must successfully complete before the capture phase.

Additional information

Recommended property: use moveSuccessfulAttempts for new integrations.

Precedence: if you define livenessMoveSteps and moveSuccessfulAttempts at the same time, moveSuccessfulAttempts takes precedence, and a precedence warning is emitted to the console.

Deprecation: livenessMoveSteps is still operational in this version, but will be removed in the next major version. Using only livenessMoveSteps emits a deprecation warning to the console.

Activating liveness move: providing steps > 0 activates the move mode for compatibility, but the recommended approach is to define livenessMode = LivenessMode.Move. See livenessMode for details on mode derivation.


Example

Last updated