Skip to main content
Rotates page so that a matched anchor becomes horizontal. In most cases, Sensible corrects page rotation automatically. If it doesn’t, configure this preprocessor. For example, if a scanned ID card is vertically oriented, and the scanner adds automatically generated horizontal text, you can use this preprocessor to correct the mix of text orientations. Configure the preprocessor to match the text that you want to see horizontally aligned.

Parameters

Examples

The following image shows that without the Rotate page preprocessor, extraction from a rotated document fails. The Region method returns null, because the targeted text isn’t in the expected region: Click to enlarge To solve this problem, configure a match for text that you want to be horizontal, and Sensible rotates the page: Config
JSON
Example document The following images show the example document used with this example config: Click to enlarge Output
JSON