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
Berkolaborasi dengan kami di GitHub
Sumber untuk konten ini dapat ditemukan di GitHub, yang juga dapat Anda gunakan untuk membuat dan meninjau masalah dan menarik permintaan. Untuk informasi selengkapnya, lihat panduan kontributor kami.
Azure SDK for Java