A structural unit of text representing a number of words in certain order.
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;
Gets the recognized break - the detected start or end of a structural component.
Gets a list of recognized languages. (Cloud API only. On-Device returns empty array)
Gets the recognized text as a string. Returned in reading order for the language. For Latin, this is top to bottom within a
MLTextBlock, and left-to-right within a