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에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for Java