Line interface
An object representing a recognized text line.
Properties
| appearance | Appearance of the text line. |
| bounding |
Bounding box of a recognized line. |
| language | The BCP-47 language code of the recognized text line. Only provided where the language of the line differs from the page's. |
| text | The text content of the line. |
| words | List of words in the text line. |
Property Details
appearance
boundingBox
Bounding box of a recognized line.
boundingBox: number[]
Property Value
number[]
language
The BCP-47 language code of the recognized text line. Only provided where the language of the line differs from the page's.
language?: string
Property Value
string
text
The text content of the line.
text: string
Property Value
string