Candidate Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. vision. contentmoderator. models. Candidate
- com.
public class Candidate
OCR candidate text.
Method Summary
Modifier and Type | Method and Description |
---|---|
Double |
confidence()
Get the confidence value. |
String |
text()
Get the text value. |
Candidate |
withConfidence(Double confidence)
Set the confidence value. |
Candidate |
withText(String text)
Set the text value. |
Method Details
confidence
public Double confidence()
Get the confidence value.
Returns:
the confidence value
text
public String text()
Get the text value.
Returns:
the text value
withConfidence
public Candidate withConfidence(Double confidence)
Set the confidence value.
Parameters:
confidence
- the confidence value to set
Returns:
the Candidate object itself.
withText
public Candidate withText(String text)
Set the text value.
Parameters:
text
- the text value to set
Returns:
the Candidate object itself.
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for Java