Jump to top

MLDocumentText

interface

A hierarchical representation of document text 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 MLDocumentTextParagraph.

text

</>

Retrieve the recognized text as a string.

text: string;