Accessory Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. vision. faceapi. models. Accessory
- com.
public class Accessory
Accessory item and corresponding confidence level.
Method Summary
Modifier and Type | Method and Description |
---|---|
double |
confidence()
Get the confidence value. |
Accessory |
type()
Get the type value. |
Accessory |
withConfidence(double confidence)
Set the confidence value. |
Accessory |
withType(AccessoryType type)
Set the type value. |
Method Details
confidence
public double confidence()
Get the confidence value.
Returns:
the confidence value
type
public AccessoryType type()
Get the type value.
Returns:
the type value
withConfidence
public Accessory withConfidence(double confidence)
Set the confidence value.
Parameters:
confidence
- the confidence value to set
Returns:
the Accessory object itself.
withType
public Accessory withType(AccessoryType type)
Set the type value.
Parameters:
type
- the type value to set
Returns:
the Accessory object itself.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java