OcclusionProperties Class
- java.
lang. Object - com.
azure. ai. vision. face. models. OcclusionProperties
- com.
Implements
public final class OcclusionProperties
implements JsonSerializable<OcclusionProperties>
Properties describing occlusions on a given face.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Occlusion |
fromJson(JsonReader jsonReader)
Reads an instance of Occlusion |
| boolean |
isEyeOccluded()
Get the eye |
| boolean |
isForeheadOccluded()
Get the forehead |
| boolean |
isMouthOccluded()
Get the mouth |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static OcclusionProperties fromJson(JsonReader jsonReader)
Reads an instance of OcclusionProperties from the JsonReader.
Parameters:
Returns:
Throws:
isEyeOccluded
public boolean isEyeOccluded()
Get the eyeOccluded property: A boolean value indicating whether eyes are occluded.
Returns:
isForeheadOccluded
public boolean isForeheadOccluded()
Get the foreheadOccluded property: A boolean value indicating whether forehead is occluded.
Returns:
isMouthOccluded
public boolean isMouthOccluded()
Get the mouthOccluded property: A boolean value indicating whether the mouth is occluded.
Returns: