ImageTag Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. vision. computervision. models. ImageTag
- com.
public class ImageTag
An entity observation in the image, along with the confidence score.
Method Summary
Modifier and Type | Method and Description |
---|---|
double |
confidence()
Get the confidence value. |
String |
hint()
Get the hint value. |
String |
name()
Get the name value. |
Image |
withConfidence(double confidence)
Set the confidence value. |
Image |
withHint(String hint)
Set the hint value. |
Image |
withName(String name)
Set the name value. |
Method Details
confidence
public double confidence()
Get the confidence value.
Returns:
the confidence value
hint
public String hint()
Get the hint value.
Returns:
the hint value
name
public String name()
Get the name value.
Returns:
the name value
withConfidence
public ImageTag withConfidence(double confidence)
Set the confidence value.
Parameters:
confidence
- the confidence value to set
Returns:
the ImageTag object itself.
withHint
public ImageTag withHint(String hint)
Set the hint value.
Parameters:
hint
- the hint value to set
Returns:
the ImageTag object itself.
withName
public ImageTag withName(String name)
Set the name value.
Parameters:
name
- the name value to set
Returns:
the ImageTag object itself.
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.
Azure SDK for Java