Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface FormPage

Package version

Raw texts recognized from a page in the input document.

Hierarchy

  • FormPage

Index

Properties

height

height: number

The height of the image/PDF in pixels/inches, respectively.

Optional lines

lines: FormLine[]

When includeTextDetails is set to true, a list of recognized text lines. The maximum number of lines returned is 300 per page. The lines are sorted top to bottom, left to right, although in certain cases proximity is treated with higher priority. As the sorting order depends on the detected text, it may change across images and OCR version updates. Thus, business logic should be built upon the actual line location instead of order.

pageNumber

pageNumber: number

The 1-based page number in the input document.

Optional tables

tables: FormTable[]

List of data tables recognized form the page

textAngle

textAngle: number

The general orientation of the text in clockwise direction, measured in degrees between (-180, 180].

unit

The unit used by the width, height and boundingBox properties. For images, the unit is "pixel". For PDF, the unit is "inch". Possible values include: 'pixel', 'inch'

width

width: number

The width of the image/PDF in pixels/inches, respectively.

Generated using TypeDoc