Improve OCR Results
How to improve OCR results with scaling
The best input images for OCR have a resolution of around 300 DPI. Beyond that a higher DPI value does typically not improve the result further (it could even make it worse).
The problem: Most input images have a lower resolution. A screenshot is normally only 96 DPI and even a HiDPI screenshot is rarely more than 140 DPI. Scans are often only done in 75 DPI or 100 DPI to save drive space and improve performance and upload time.
The solution: All low DPI images and scans benefit from the built-in automatic image scaling of the OCR API. To activate it, check the "Auto-enlarge content" box on the front page. In the API call you can achieve the same by setting scale=true. Because most images benefit from auto-scaling, the parameter is checked by default on the online ocr page.
Important: For images and scans that are already "naturally" 200 DPI or 300 DPI, autoscaling is not needed and provides no benefit, and can even make the detection worse in some cases. So for images at are already high-resolution use scale=false in the api call.
The screenshot below shows the OCR result of a low-quality low-DPI book scan with and without scaling.
Below is another example, this time an excerpt of a 100 DPI magazine page scan.