Skip to main content
The layout object describes the physical structure of the document - image parameters, any detected graphic and text elements, as well as tables. Each page is described by a separate pages array element. Prior to being recognized, each page undergoes preprocessing, where it is cropped, deskewed, and rotated (if the page orientation needs to be changed). Additionally, any curved text on the page is straightened.
PropertyData typeDescription
correctedbooleanA value of true indicates that the image has undergone preprocessing. Set to true by default.
pages *object arrayThe document page array. The order of the elements is the same as the pages’ physical order in the document.
* Indicates a required property.