你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
AIVisionFaceModelFactory.OcclusionProperties Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.