Occlusion Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. vision. faceapi. models. Occlusion
- com.
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:
foreheadOccluded
public boolean foreheadOccluded()
Get the foreheadOccluded value.
Returns:
mouthOccluded
public boolean mouthOccluded()
Get the mouthOccluded value.
Returns:
withEyeOccluded
public Occlusion withEyeOccluded(boolean eyeOccluded)
Set the eyeOccluded value.
Parameters:
Returns:
withForeheadOccluded
public Occlusion withForeheadOccluded(boolean foreheadOccluded)
Set the foreheadOccluded value.
Parameters:
Returns:
withMouthOccluded
public Occlusion withMouthOccluded(boolean mouthOccluded)
Set the mouthOccluded value.
Parameters:
Returns:
Applies to
Azure SDK for Java