10 ways to get more accurate OCR from scans and photos
OCR accuracy depends far more on the image you give it than on the software. These ten habits make the biggest difference, and the sections after them explain how to diagnose a bad result and fix it quickly.
Scanning
1. Scan at 300 dpi. It's the best balance between detail and file size. Go up to 400 dpi for small print or dense scripts like Devanagari, Bengali or Malayalam, and for Chinese and Japanese characters. Higher than that rarely helps.
2. Use greyscale or black and white, not colour. Colour adds file size without helping OCR. For faint originals, greyscale keeps more detail than pure black and white, which can turn thin strokes white.
3. Scan the original, not a photocopy. Every generation of photocopy loses fine strokes: dots, accent marks and vowel signs are the first to go.
4. Keep the page flat and straight. Close the scanner lid fully. For books, press the spine down gently; curved lines near the binding are a common source of errors.
Phone photos
5. Shoot straight down, in even light. Hold the phone parallel to the page. Avoid your own shadow, and avoid flash, which causes glare on glossy paper. Daylight near a window works well.
6. Fill the frame with the page. Get close enough that the page fills the photo, but keep all four corners in view. Use a scanning app's crop and "document" mode if you have one.
7. Check sharpness before you move on. Zoom in on the photo. If you can't read the small print clearly, the OCR won't either.
Settings
8. Choose the right language. This matters more than people expect. With the wrong language, OCR guesses using the wrong alphabet and vocabulary. For bilingual documents, select both languages (Docuflat allows up to three). Choose Marathi rather than Hindi for Marathi text, and Assamese rather than Bengali for Assamese, even though the scripts look alike.
9. Convert only the pages you need. Split out the relevant pages first. You'll get results faster and use less of your daily OCR allowance.
Afterwards
10. Proofread numbers, names and dates. OCR most often confuses similar-looking characters: 0 and O, 1 and l, 5 and S, and in Indian scripts, letters that differ only by a small stroke. Check anything you'll rely on against the original. Our OCR proofreading checklist shows a fast way to do it.
Reading a bad result
The kind of errors in the output usually tells you what went wrong:
| What you see | Likely cause | Fix |
|---|---|---|
| Random symbols and short fragments | Page too dark, too light or very low resolution | Rescan in greyscale at 300 dpi |
| Good text in the middle, errors at one edge | Page tilted or curved | Straighten it, or press the book flat |
| Real-looking words that are slightly wrong everywhere | Wrong language selected | Choose the document's language |
| Lines from two columns mixed together | Two-column layout | Crop each column and convert separately |
| Junk lines between paragraphs | Stamps, signatures, handwriting | Ignore those lines, or crop them out |
| Latin gibberish from a PDF that has text | Legacy font, not a scan | Convert page images instead (why) |
Quick image fixes on a phone or computer
You don't need special software to prepare an image:
- Crop away the desk, fingers and dark borders. Edges confuse OCR and waste time.
- Rotate so that lines of text run straight across. Most photo apps have a straighten slider.
- Increase contrast a little and reduce brightness if the paper looks grey. Don't overdo it; thin strokes can disappear.
- Convert to black and white only if the original is clean; otherwise keep greyscale.
Layouts that need extra care
Two or more columns. Newspapers, journals and some forms put text in columns. OCR reads across the page line by line, so lines from different columns can be joined. Crop each column into its own image for the cleanest result.
Tables. Tables come out as lines of text with the values in order. Paste the result into a spreadsheet, or ask an AI assistant to rebuild the table and then check a few rows.
Forms with boxes. Printed boxes around each character (common in application forms) can be read as letters like I or l. Crop tightly around the text where you can.
What OCR can't do well
Even with perfect technique, some things remain hard:
- Handwriting, especially joined-up writing
- Text on top of stamps, seals or watermarks
- Decorative and calligraphic fonts
- Very old printing with broken or faded letters
For these, OCR gives you a starting point, but plan to correct the output by hand.