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
Colabore connosco no GitHub
A origem deste conteúdo pode ser encontrada no GitHub, onde também pode criar e rever problemas e pedidos Pull. Para mais informações, consulte o nosso guia do contribuidor.
Azure SDK for Java