Class DetectedTextWord
java.lang.Object
com.azure.ai.vision.imageanalysis.models.DetectedTextWord
A word object consisting of a contiguous sequence of characters. For non-space delimited languages,
such as Chinese, Japanese, and Korean, each character is represented as its own word.
-
Method Summary
Modifier and TypeMethodDescriptionGet the boundingPolygon property: A bounding polygon around the word.doubleGet the confidence property: The level of confidence that the word was detected.getText()Get the text property: Text content of the word.
-
Method Details
-
getText
Get the text property: Text content of the word.- Returns:
- the text value.
-
getBoundingPolygon
Get the boundingPolygon property: A bounding polygon around the word. At the moment only quadrilaterals are supported (represented by 4 image points).- Returns:
- the boundingPolygon value.
-
getConfidence
public double getConfidence()Get the confidence property: The level of confidence that the word was detected. Confidence scores span the range of 0.0 to 1.0 (inclusive), with higher values indicating a higher confidence of detection.- Returns:
- the confidence value.
-