Category Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. vision. computervision. models. Category
- com.
public class Category
An object describing identified category.
Method Summary
Modifier and Type | Method and Description |
---|---|
Category |
detail()
Get the detail value. |
String |
name()
Get the name value. |
double |
score()
Get the score value. |
Category |
withDetail(CategoryDetail detail)
Set the detail value. |
Category |
withName(String name)
Set the name value. |
Category |
withScore(double score)
Set the score value. |
Method Details
detail
public CategoryDetail detail()
Get the detail value.
Returns:
the detail value
name
public String name()
Get the name value.
Returns:
the name value
score
public double score()
Get the score value.
Returns:
the score value
withDetail
public Category withDetail(CategoryDetail detail)
Set the detail value.
Parameters:
detail
- the detail value to set
Returns:
the Category object itself.
withName
public Category withName(String name)
Set the name value.
Parameters:
name
- the name value to set
Returns:
the Category object itself.
withScore
public Category withScore(double score)
Set the score value.
Parameters:
score
- the score value to set
Returns:
the Category object itself.
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.
Azure SDK for Java