VisionDocumentTextWord
A single word representation.
Properties
confidence
</>The confidence of the recognized text. It only return valid result from cloud recognizers. For on-device text recognition, the confidence is always null.
confidence: null | number;
recognizedBreak
</>Gets the recognized break - the detected start or end of a structural component.
recognizedBreak: VisionDocumentTextRecognizedBreak;
recognizedLanguages
</>Gets a list of recognized languages. (Cloud API only. On-Device returns empty array)
recognizedLanguages: string[];
symbols
</>Gets an Array of VisionDocumentTextSymbol
s that make up this word.
The order of the symbols follows the natural reading order.
symbols: VisionDocumentTextSymbol[];
text
</>Gets the recognized text as a string. Returned in reading order for the language. For Latin, this is top to bottom within a VisionTextBlock
, and left-to-right within a VisionTextLine
.
text: string;