AIVisionFaceModelFactory.LivenessResponseBody Method

Definition

Initializes a new instance of LivenessResponseBody.

public static Azure.AI.Vision.Face.LivenessResponseBody LivenessResponseBody (Azure.AI.Vision.Face.FaceLivenessDecision? livenessDecision = default, Azure.AI.Vision.Face.LivenessOutputsTarget target = default, Azure.AI.Vision.Face.LivenessModel? modelVersionUsed = default, Azure.AI.Vision.Face.LivenessWithVerifyOutputs verifyResult = default, System.Collections.Generic.IReadOnlyDictionary<string,BinaryData> additionalProperties = default);
static member LivenessResponseBody : Nullable<Azure.AI.Vision.Face.FaceLivenessDecision> * Azure.AI.Vision.Face.LivenessOutputsTarget * Nullable<Azure.AI.Vision.Face.LivenessModel> * Azure.AI.Vision.Face.LivenessWithVerifyOutputs * System.Collections.Generic.IReadOnlyDictionary<string, BinaryData> -> Azure.AI.Vision.Face.LivenessResponseBody
Public Shared Function LivenessResponseBody (Optional livenessDecision As Nullable(Of FaceLivenessDecision) = Nothing, Optional target As LivenessOutputsTarget = Nothing, Optional modelVersionUsed As Nullable(Of LivenessModel) = Nothing, Optional verifyResult As LivenessWithVerifyOutputs = Nothing, Optional additionalProperties As IReadOnlyDictionary(Of String, BinaryData) = Nothing) As LivenessResponseBody

Parameters

livenessDecision
Nullable<FaceLivenessDecision>

The liveness classification for the target face.

target
LivenessOutputsTarget

Specific targets used for liveness classification.

modelVersionUsed
Nullable<LivenessModel>

The model version used for liveness classification.

verifyResult
LivenessWithVerifyOutputs

The face verification output. Only available when the request is liveness with verify.

additionalProperties
IReadOnlyDictionary<String,BinaryData>

Additional Properties.

Returns

A new LivenessResponseBody instance for mocking.

Applies to