Jump to top

MLText

interface

A hierarchical representation of texts recognized in an image.

Properties

blocks

</>

Gets an array MLTextBlock, which is a block of text that can be further decomposed to an array of MLTextLine.

blocks: MLTextBlock[];

text

</>

Retrieve the recognized text as a string.

text: string;