tesseract image.png output --dpi 300

Category: AI/ML Tooling

tesseract image.png output --dpi 300

Declare the image resolution

Tells tesseract the scan is 300 DPI, which matters for low-resolution images where tesseract underestimates text size and fails to find lines. When no DPI is embedded, tesseract guesses and warns about it. 300 is the standard scan resolution.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.