AccessoryItem Class
- java.
lang. Object - com.
azure. ai. vision. face. models. AccessoryItem
- com.
Implements
public final class AccessoryItem
implements JsonSerializable<AccessoryItem>
Accessory item and corresponding confidence level.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Accessory |
fromJson(JsonReader jsonReader)
Reads an instance of Accessory |
| double |
getConfidence()
Get the confidence property: Confidence level of the accessory type. |
|
Accessory |
getType()
Get the type property: Type of the accessory. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static AccessoryItem fromJson(JsonReader jsonReader)
Reads an instance of AccessoryItem from the JsonReader.
Parameters:
Returns:
Throws:
getConfidence
public double getConfidence()
Get the confidence property: Confidence level of the accessory type. Range between [0,1].
Returns:
getType
public AccessoryType getType()
Get the type property: Type of the accessory.
Returns: