Skip to main content
Elements of a texts array are objects describing text blocks. Each text block consists of strings, which in turn consist of words, and words - of characters.
PropertyData typeDescription
idstringThe text block identifier.
positionrectCoordinates of the rectangular region on the document containing the text block.
confidenceconfidenceThe level of confidence for the text in the block being recognized correctly. Calculated using confidence values for strings in the block.
lineslinesAn array of strings that form the text block.