你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Occlusion 类

  • java.lang.Object
    • com.microsoft.azure.cognitiveservices.vision.faceapi.models.Occlusion

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:

eyeOccluded 值

foreheadOccluded

public boolean foreheadOccluded()

获取 foreheadOccluded 值。

Returns:

foreheadOccluded 值

mouthOccluded

public boolean mouthOccluded()

获取 mouthOccluded 值。

Returns:

mouthOccluded 值

withEyeOccluded

public Occlusion withEyeOccluded(boolean eyeOccluded)

设置 eyeOccluded 值。

Parameters:

eyeOccluded - 要设置的 eyeOccluded 值

Returns:

遮挡对象本身。

withForeheadOccluded

public Occlusion withForeheadOccluded(boolean foreheadOccluded)

设置 foreheadOccluded 值。

Parameters:

foreheadOccluded - 要设置的 foreheadOccluded 值

Returns:

遮挡对象本身。

withMouthOccluded

public Occlusion withMouthOccluded(boolean mouthOccluded)

设置 mouthOccluded 值。

Parameters:

mouthOccluded - 要设置的 mouthOccluded 值

Returns:

遮挡对象本身。

适用于