Class Block

Represents a single block, e.g. a paragraph. A block is made up of lines.

Constructors

Properties

Constructors

  • Parameters

    • source: DeepPartial<Block> = {}

    Returns Block

Properties

_type: "Block" = "Block"
confidence: number

Text confidence. Range is [0-1].

lines: Line[]

List of lines.

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.