Lines Array Elements
Elements of the lines array are objects describing strings making up a text block or table cell. Elements in this array are ordered identically to the way they are read.
Property | Data type | Description |
---|---|---|
position | rect | The coordinates of the rectangular region on the document where the text string is located. |
confidence | confidence | The level of confidence for the text in the string being recognized correctly. Calculated using confidence values for words that make up the string. |
text | string | The string value of the element. |
words | object array | An array consisting of words that make up the text string. Elements are ordered identically to the way they are read. |
Words array elements
Elements of the words array are objects describing words that make up a text string.
Property | Data type | Description |
---|---|---|
position | rect | The coordinates of the rectangular region on the document where the word is located. |
confidence | confidence | The level of confidence for the word being recognized correctly. Calculated using confidence values for characters making up the word. |
text | string | The string value of the word. |
chars | object array | An array of characters that make up the word. Elements in the array are ordered the same way they are read. |
Chars array elements
Elements of the chars array are objects that describe characters that make up a word. A character is the smallest unit of text information.
Property | Data type | Description |
---|---|---|
confidence | confidence | The level of confidence for the character being recognized correctly. |
text | string | The string value of the character. |
position | rect | The coordinates of the rectangular region on the document where the character is located. |
06.09.2022 16:21:49