Skip to main content
Corrects the size of text in documents whose size varies, for example as a result of being photographed at different distances. ID cards and receipts are common examples of such documents. This preprocessor enables coordinates-based methods, such as the Region or Text Table methods, to work with such unpredictably scaled documents. For alternatives to this preprocessor, see Page transformation preprocessors. Parameters
Examples
Notes

Parameters

Examples

The following example shows using the Per Page parameter to scale an ID card that has a different size on each page, where the second page contains the target size to standardize on. Config
JSON
Example document The following image shows the example document used with this example config: Click to enlarge Output
JSON