LivenessOperationMode Struct

Definition

The liveness operation mode to drive the client's end-user experience.

public readonly struct LivenessOperationMode : IEquatable<Azure.AI.Vision.Face.LivenessOperationMode>
type LivenessOperationMode = struct
Public Structure LivenessOperationMode
Implements IEquatable(Of LivenessOperationMode)
Inheritance
LivenessOperationMode
Implements

Constructors

LivenessOperationMode(String)

Initializes a new instance of LivenessOperationMode.

Properties

Passive

Utilizes a passive liveness technique that requires no additional actions from the user. Requires normal indoor lighting and high screen brightness for optimal performance. And thus, this mode has a narrow operational envelope and will not be suitable for scenarios that requires the end-user's to be in bright lighting conditions. Note: this is the only supported mode for the Mobile (iOS and Android) solution.

PassiveActive

This mode utilizes a hybrid passive or active liveness technique that necessitates user cooperation. It is optimized to require active motion only under suboptimal lighting conditions. Unlike the passive mode, this mode has no lighting restrictions, and thus offering a broader operational envelope. This mode is preferable on Web based solutions due to the lack of automatic screen brightness control available on browsers which hinders the Passive mode's operational envelope on Web based solutions.

Methods

Equals(LivenessOperationMode)

Indicates whether the current object is equal to another object of the same type.

ToString()

Returns the fully qualified type name of this instance.

Operators

Equality(LivenessOperationMode, LivenessOperationMode)

Determines if two LivenessOperationMode values are the same.

Implicit(String to LivenessOperationMode)

Converts a String to a LivenessOperationMode.

Inequality(LivenessOperationMode, LivenessOperationMode)

Determines if two LivenessOperationMode values are not the same.

Applies to