Udostępnij za pośrednictwem


AIVisionFaceModelFactory.OcclusionProperties Method

Definition

Initializes a new instance of OcclusionProperties.

public static Azure.AI.Vision.Face.OcclusionProperties OcclusionProperties (bool foreheadOccluded = false, bool eyeOccluded = false, bool mouthOccluded = false);
static member OcclusionProperties : bool * bool * bool -> Azure.AI.Vision.Face.OcclusionProperties
Public Shared Function OcclusionProperties (Optional foreheadOccluded As Boolean = false, Optional eyeOccluded As Boolean = false, Optional mouthOccluded As Boolean = false) As OcclusionProperties

Parameters

foreheadOccluded
Boolean

A boolean value indicating whether forehead is occluded.

eyeOccluded
Boolean

A boolean value indicating whether eyes are occluded.

mouthOccluded
Boolean

A boolean value indicating whether the mouth is occluded.

Returns

A new OcclusionProperties instance for mocking.

Applies to