Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface TextRecognitionResult

Package version

An object representing a recognized text region

Hierarchy

  • TextRecognitionResult

Index

Properties

Optional clockwiseOrientation

clockwiseOrientation: undefined | number

The orientation of the image in degrees in the clockwise direction. Range between [0, 360).

Optional height

height: undefined | number

The height of the image in pixels or the PDF in inches.

lines

lines: Line[]

A list of recognized text lines.

Optional page

page: undefined | number

The 1-based page number of the recognition result.

Optional unit

The unit used in the Width, Height and BoundingBox. For images, the unit is 'pixel'. For PDF, the unit is 'inch'. Possible values include: 'pixel', 'inch'

Optional width

width: undefined | number

The width of the image in pixels or the PDF in inches.

Generated using TypeDoc