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

livenessMoveSteps

Required steps in Active Liveness.

Details

Attribute: liveness-move-steps

Type: number

Supported values: 0 or higher

Default value: 0

Morphology

selphi.livenessMoveSteps = 3;

Description

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

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

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

Additional information

Recommended property: use moveSuccessfulAttempts in new integrations.

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

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

Activation of liveness move: specifying steps > 0 activates the mode move for compatibility, but the recommended way is to define livenessMode = LivenessMode.Move. See livenessMode for details on mode derivation.


Example

Last updated