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
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.