AIVisionFaceModelFactory.MaskProperties(Boolean, MaskType) Method

Definition

Initializes a new instance of MaskProperties.

public static Azure.AI.Vision.Face.MaskProperties MaskProperties (bool noseAndMouthCovered = false, Azure.AI.Vision.Face.MaskType type = default);
static member MaskProperties : bool * Azure.AI.Vision.Face.MaskType -> Azure.AI.Vision.Face.MaskProperties
Public Shared Function MaskProperties (Optional noseAndMouthCovered As Boolean = false, Optional type As MaskType = Nothing) As MaskProperties

Parameters

noseAndMouthCovered
Boolean

A boolean value indicating whether nose and mouth are covered.

type
MaskType

Type of the mask.

Returns

A new MaskProperties instance for mocking.

Applies to