你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Occlusion 类
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. vision. faceapi. models. Occlusion
- com.
public class Occlusion
描述给定人脸上的遮挡的属性。
方法摘要
修饰符和类型 | 方法和描述 |
---|---|
boolean |
eyeOccluded()
获取 eyeOccluded 值。 |
boolean |
foreheadOccluded()
获取 foreheadOccluded 值。 |
boolean |
mouthOccluded()
获取 mouthOccluded 值。 |
Occlusion |
withEyeOccluded(boolean eyeOccluded)
设置 eyeOccluded 值。 |
Occlusion |
withForeheadOccluded(boolean foreheadOccluded)
设置 foreheadOccluded 值。 |
Occlusion |
withMouthOccluded(boolean mouthOccluded)
设置 mouthOccluded 值。 |
方法详细信息
eyeOccluded
public boolean eyeOccluded()
获取 eyeOccluded 值。
Returns:
foreheadOccluded
public boolean foreheadOccluded()
获取 foreheadOccluded 值。
Returns:
mouthOccluded
public boolean mouthOccluded()
获取 mouthOccluded 值。
Returns:
withEyeOccluded
public Occlusion withEyeOccluded(boolean eyeOccluded)
设置 eyeOccluded 值。
Parameters:
Returns:
withForeheadOccluded
public Occlusion withForeheadOccluded(boolean foreheadOccluded)
设置 foreheadOccluded 值。
Parameters:
Returns:
withMouthOccluded
public Occlusion withMouthOccluded(boolean mouthOccluded)
设置 mouthOccluded 值。
Parameters:
Returns: