Class Page

Represents result of performing OCR on an image. A page is made up of blocks.

Constructors

Properties

Constructors

  • Parameters

    • source: DeepPartial<Page> = {}

    Returns Page

Properties

_type: "Page" = "Page"
blocks: Block[]

List of blocks.

confidence: number

Text confidence. Range is [0-1].

roi: Point[]

Quad where the text was found in image coordinates. The order of the points is clockwise starting from the top left.

text: string

The recognized text.