Jump to top

VisionText

interface

A hierarchical representation of texts recognized in an image.

Properties

blocks

</>

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

blocks: VisionTextBlock[];

text

</>

Retrieve the recognized text as a string.

text: string;