You ran the photo through OCR and got back most words right, a scattering of wrong ones, and a number turned into a letter. The tempting response is to run it again and hope. That almost never helps, because the engine is not having an off day. It read the image you gave it, and the image is where the errors were born.
This guide is about the part you control. Using the free Image to Text tool on Ovatly, which runs the Tesseract engine in your browser, you will fix the five things that decide OCR accuracy and re-run the same picture. No uploads, no new software, just a better input.
Contents
- Quick answer
- Why accuracy is decided before you press run
- The five quality factors that matter
- Step by step: fix the photo, then run it
- The fix list: apply, re-run, compare
- Worked example: one notice, two very different reads
- Limitations and honest tradeoffs
- Common mistakes
- FAQs
- Conclusion
- References
Quick answer
Before you run OCR, make the image straight, sharp, high-contrast and evenly lit, with text large enough that letters are clean pixels. Shoot square-on, tap to focus on the text, wipe out glare and shadow, and crop away everything that is not the document. Then open the Image to Text tool, load the improved image, check the preview, and run it. Fix any remaining slips in the editable result box, then copy or download the text as a .txt file.
Why accuracy is decided before you press run
OCR does not read the way you do. Tesseract scans the image for shapes that match the letterforms it was trained on, joins them into words and lines, and returns its best interpretation. It reads shapes, not meaning, so it cannot use context to rescue a distorted letter the way your brain does.
That is why OCR errors follow a pattern. When a shape is soft or warped, the engine reaches for the nearest match, and the nearest matches are lookalikes: 0 for O, 1 for l, rn read as m. These swaps are the honest output of unclear input. Sharpen the input and the same engine, unchanged, suddenly looks much smarter.
It also means re-running a bad photo is pointless: the shapes are identical, so the result will be identical. Every improvement has to happen to the picture itself.
The five quality factors that matter
Straight comes first. A page photographed at an angle has letters stretched on one side and compressed on the other, while the matcher compares them against undistorted letterforms. Shoot square-on, or use a scan, which is flat by nature.
Sharp comes second. Blur smears the edges the engine uses to tell similar letters apart. Tap to focus on the text, hold the phone steady, and check the shot at full zoom: if the letters look fuzzy to you, they look fuzzy to the engine.
Contrast is third. Printed black on white is the ideal. Pale ink, grey paper, a dim room, or shadow across the page all flatten the difference between letter and background. Even, bright light gives the matcher a clear decision to make.
Size is fourth. A letter built from a handful of pixels carries almost no shape information. Get closer, or scan at a higher resolution, so each character is large and well defined.
Light is fifth, and it is the sneaky one. Glare from a window or lamp whites out whole words. Move the page or yourself until the light is even, and check for reflections before you press the shutter.
Step by step: fix the photo, then run it
- Reshoot or rescan the document square-on, in even light, with the text filling the frame.
- Zoom in and confirm the letters are sharp. If they are not, shoot again; ten seconds here saves ten minutes of corrections.
- Crop out desks, hands, margins and anything else that is not the document.
- Open the Image to Text tool and choose the improved image. Your image is never uploaded; the engine runs locally, and only its English data downloads, once, on first use.
- Check the preview shows the right file, then run it and watch the progress bar.
- Read the result in the editable box, check the word, line and character counts against the original, and fix any remaining errors there.
- Copy the text or download it as a .txt file.
The fix list: apply, re-run, compare
If a first read comes back rough, do not guess which factor is at fault. Work down this list, change what you can, and re-run the same document:
- Angle: is the page square to the camera, or keystone-shaped?
- Focus: are the letters crisp at full zoom?
- Contrast: is the text dark against a light, plain background?
- Size: could you get closer, or scan at a higher resolution?
- Light: is there glare, a reflection, or a shadow crossing the text?
- Frame: have you cropped away everything except the document?
Each fix is cheap, and they stack: a straighter version often clears half the errors, a sharper, better-lit one most of the rest. Because the tool runs in your browser, iterating costs you nothing but a minute.
Worked example: one notice, two very different reads
Take a short printed notice that reads "Meeting moved to Friday". From a clear, straight, high-contrast image, the tool returns exactly that line, reported as "4 words, 1 lines, 23 characters". The shapes were clean, so the match was exact.
Now picture the same notice photographed from a chair to the side, at an angle, with a window reflection crossing the middle. Expect a different story: letters stretched by the angle, a word or two washed out by glare, and lookalike swaps in the soft parts, a 0 where an O should be, an rn collapsing into m. That is an expectation based on how shape matching behaves, not a promised result, but the pattern is consistent: the words did not change, the shapes did, and the read followed the shapes.
Limitations and honest tradeoffs
These tips improve printed English text, which is all this tool reads: the engine ships with English data only, so other languages come back garbled or empty however good the photo is. Handwriting is the other hard limit: neat handwriting sometimes reads partly, joined-up writing usually fails, and no lighting fixes letterforms the engine was never trained on.
There is also a ceiling on rescue. A genuinely tiny, blurred original may have lost information no edit can restore; you need the document itself, photographed again properly. And even a clean read deserves a proofread, because a surviving swap like 0 for O is exactly what a spellchecker waves through.
Common mistakes
- Re-running the same bad photo and expecting a different result. The shapes are the same, so the text will be too.
- Shooting from your seat at an angle instead of getting square-on.
- Photographing small print from far away, then wondering why letters are wrong.
- Leaving glare or a hard shadow across the page. Your brain corrects for it; the matcher cannot.
- Skipping the zoom check. Ten seconds inspecting the shot beats ten minutes fixing the output.
- Trusting the result without reading it against the original.
FAQs
Can better image quality really change the OCR result?
Yes. OCR matches shapes, so the same words in a straight, sharp, high-contrast image can read perfectly while a skewed, glary photo of them comes back with substitutions or gaps. Improving the image is usually worth more than re-running the same photo.
What is the single most useful fix?
Shoot or scan straight-on and sharp. A flat, in-focus image gives the engine undistorted letterforms to match, and most other problems, glare aside, matter less once the shapes are clean.
How large does the text in the image need to be?
Large enough that each letter is made of clean pixels rather than a blur of a few. If you have to zoom in and the letters look fuzzy to you, they look fuzzy to the engine too. Move closer or use a higher-resolution scan.
Does the tool upload my image while I experiment?
No. The Tesseract engine runs in your browser and the image stays on your device. Only the engine and its English data download once from a public CDN on first use, then stay cached, so you can re-run as many versions of a photo as you like.
Will these tips make handwriting read accurately?
They help a little, but handwriting still reads poorly. The engine is trained on printed letterforms, so neat handwriting sometimes comes through partly and joined-up writing usually fails, however good the photo is.
Conclusion
OCR accuracy is not a setting in the tool; it is a property of the photograph. Straight, sharp, high-contrast, large, evenly lit: get those five right and the same engine turns near-exact on printed English. When the source is a whiteboard or a page of notes rather than a clean document, the companion guide on how to pull text from a photo of a whiteboard or notes covers the routine for that messier case. For the full series, see the file and data conversion guides.
References
- Image to Text on Ovatly: the browser OCR tool used throughout this guide.
- Tesseract OCR: the open-source recognition engine that runs locally in the tool.