AIVisionFaceModelFactory.LivenessOutputsTarget Method

Definition

Initializes a new instance of LivenessOutputsTarget.

public static Azure.AI.Vision.Face.LivenessOutputsTarget LivenessOutputsTarget (Azure.AI.Vision.Face.FaceRectangle faceRectangle = default, string fileName = default, int timeOffsetWithinFile = 0, Azure.AI.Vision.Face.FaceImageType imageType = default);
static member LivenessOutputsTarget : Azure.AI.Vision.Face.FaceRectangle * string * int * Azure.AI.Vision.Face.FaceImageType -> Azure.AI.Vision.Face.LivenessOutputsTarget
Public Shared Function LivenessOutputsTarget (Optional faceRectangle As FaceRectangle = Nothing, Optional fileName As String = Nothing, Optional timeOffsetWithinFile As Integer = 0, Optional imageType As FaceImageType = Nothing) As LivenessOutputsTarget

Parameters

faceRectangle
FaceRectangle

The face region where the liveness classification was made on.

fileName
String

The file name which contains the face rectangle where the liveness classification was made on.

timeOffsetWithinFile
Int32

The time offset within the file of the frame which contains the face rectangle where the liveness classification was made on.

imageType
FaceImageType

The image type which contains the face rectangle where the liveness classification was made on.

Returns

A new LivenessOutputsTarget instance for mocking.

Applies to