MaskProperties Class
- java.
lang. Object - com.
azure. ai. vision. face. models. MaskProperties
- com.
Implements
public final class MaskProperties
implements JsonSerializable<MaskProperties>
Properties describing the presence of a mask on a given face.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Mask |
fromJson(JsonReader jsonReader)
Reads an instance of Mask |
|
Mask |
getType()
Get the type property: Type of the mask. |
| boolean |
isNoseAndMouthCovered()
Get the nose |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static MaskProperties fromJson(JsonReader jsonReader)
Reads an instance of MaskProperties from the JsonReader.
Parameters:
Returns:
Throws:
getType
public MaskType getType()
Get the type property: Type of the mask.
Returns:
isNoseAndMouthCovered
public boolean isNoseAndMouthCovered()
Get the noseAndMouthCovered property: A boolean value indicating whether nose and mouth are covered.
Returns: