Partilhar via


Occlusion Class

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

public class Occlusion

Properties describing occlusions on a given face.

Method Summary

Modifier and Type Method and Description
boolean eyeOccluded()

Get the eyeOccluded value.

boolean foreheadOccluded()

Get the foreheadOccluded value.

boolean mouthOccluded()

Get the mouthOccluded value.

Occlusion withEyeOccluded(boolean eyeOccluded)

Set the eyeOccluded value.

Occlusion withForeheadOccluded(boolean foreheadOccluded)

Set the foreheadOccluded value.

Occlusion withMouthOccluded(boolean mouthOccluded)

Set the mouthOccluded value.

Method Details

eyeOccluded

public boolean eyeOccluded()

Get the eyeOccluded value.

Returns:

the eyeOccluded value

foreheadOccluded

public boolean foreheadOccluded()

Get the foreheadOccluded value.

Returns:

the foreheadOccluded value

mouthOccluded

public boolean mouthOccluded()

Get the mouthOccluded value.

Returns:

the mouthOccluded value

withEyeOccluded

public Occlusion withEyeOccluded(boolean eyeOccluded)

Set the eyeOccluded value.

Parameters:

eyeOccluded - the eyeOccluded value to set

Returns:

the Occlusion object itself.

withForeheadOccluded

public Occlusion withForeheadOccluded(boolean foreheadOccluded)

Set the foreheadOccluded value.

Parameters:

foreheadOccluded - the foreheadOccluded value to set

Returns:

the Occlusion object itself.

withMouthOccluded

public Occlusion withMouthOccluded(boolean mouthOccluded)

Set the mouthOccluded value.

Parameters:

mouthOccluded - the mouthOccluded value to set

Returns:

the Occlusion object itself.

Applies to