ExtractedToken interface

Canonical representation of single extracted text.

Properties

boundingBox

Bounding box of the extracted text. Represents the location of the extracted text as a pair of cartesian co-ordinates. The co-ordinate pairs are arranged by top-left, top-right, bottom-right and bottom-left endpoints box with origin reference from the bottom-left of the page.

confidence

A measure of accuracy of the extracted text.

text

String value of the extracted text.

Property Details

boundingBox

Bounding box of the extracted text. Represents the location of the extracted text as a pair of cartesian co-ordinates. The co-ordinate pairs are arranged by top-left, top-right, bottom-right and bottom-left endpoints box with origin reference from the bottom-left of the page.

boundingBox?: number[]

Property Value

number[]

confidence

A measure of accuracy of the extracted text.

confidence?: number

Property Value

number

text

String value of the extracted text.

text?: string

Property Value

string