The Short Answer
OCR (Optical Character Recognition) converts text in an image into machine-readable characters. Point it at a photograph of a page or a scan of a document, and it returns editable text you can search, copy, edit and paste elsewhere.
It matters because a scanned PDF is not a document — it is a picture of a document. Inside the file there is no text, only pixels. Every feature that depends on real text — search, copy-paste, screen readers, translation, text-to-speech — fails on it until OCR runs.
How It Works, Step by Step
- Preprocessing. The image is cleaned: rotated pages are straightened (deskewing), shadows and background noise are removed, and contrast is normalised. Most of the real-world accuracy difference between tools happens here, before any character is recognised.
- Layout analysis. The engine finds text blocks, then lines, then individual characters. On a page with columns it must work out reading order, which is why a two-column page can come out in the wrong sequence.
- Segmentation. Characters are separated from each other. This is the hardest step in scripts where letters connect or stack — Devanagari, Tamil, Arabic — because the boundaries between characters are not always visible.
- Recognition. Each segment is matched against a trained model. Older engines used template matching; modern ones use neural networks, usually recurrent or convolutional-recurrent models trained on thousands of examples of each character in many typefaces.
- Language modelling. The recognised characters are checked against the rules of the language, so a word that is recognisable as a likely word is preferred over a string of nonsense. This is why selecting the correct language input improves accuracy so much — it is not cosmetic.
What Determines Accuracy
OCR is not a single quality; it is a chain, and it fails at the weakest link:
- Resolution. Below 200 DPI the small marks in many scripts disappear entirely.
- Contrast and lighting. Faded ink and uneven shadows push characters toward the background.
- Typeface and age. Modern print is clean. Pre-1990 print and legacy encodings are much harder.
- Script. Latin scripts with separated letters are the easiest case. Indic and Arabic scripts, where characters connect, stack or carry diacritics, are harder.
- Handwriting. A different and much harder problem than print recognition.
What OCR Is Not Good At
Understanding the limits saves wasted effort. OCR generally fails on:
- Tables and forms, where the text extraction is correct but the structure is lost
- Diagrams, charts and images, which contain no text to recognise
- Documents where the meaning lives in the layout rather than the words
A Worked Example: One Photograph, Start to Finish
Take a phone photo of a page from a Tamil textbook. The file that lands in your gallery is a JPEG: a few million pixels of colour. There is no text layer in it at all — only a picture of text.
Run it through an OCR engine with the correct language selected and the same content comes back as characters:
படிக்கும் மாணவர்களுக்கு இலவச புத்தகங்கள் வழங்கப்பட்டன.
That line is now searchable, copyable, translatable, and readable aloud by a screen reader. Notice what had to be true for it to work: the engine had to be looking for Tamil. Tamil carries vowel marks above and below the base consonant, so an engine told to expect English will return noise from the exact same pixels. The image did not change — the assumption about the script did.
Why the Same Photo Gives Different Results in Different Tools
Almost every surprise comes down to three differences between engines:
- Preprocessing. Some engines straighten, de-noise and normalise contrast before recognition; others pass raw pixels to the model. On a crooked phone photo this alone is the difference between usable text and garbage.
- The language model. Recognised characters are checked against what the language allows. An engine that knows Tamil grammar will repair a smudged word that a general-purpose engine leaves broken.
- The training data. Models are only as good as the typefaces and print qualities they learned from. Modern laser print is easy. A 1970s typewriter carbon copy is a different problem entirely.
Online Tool, Desktop Software, or an API?
The right choice depends on volume and sensitivity, not on features:
| Situation | Best fit | Why |
|---|---|---|
| A few documents now and then | Online tool | No install, works on any machine, zero setup |
| Legally sensitive material (contracts, IDs, medical records) | Desktop software | Nothing leaves your computer |
| Hundreds or thousands of pages | API / batch pipeline | Automation beats clicking, and errors become visible in logs |
| Mixed Indic languages on one page | Engine with per-language models and auto-detection | Forcing one language on mixed text is the most common cause of partial failure |
Checklist: Before You Upload
- Is the text readable at 100% zoom? If not, nothing downstream will fix it.
- Is the page flat and roughly square to the camera frame?
- Do you know the language? Choosing it beats relying on auto-detect every time.
- Is the scan at least 200–300 DPI?
- Are there photos or diagrams mixed in with the text you actually need?
If you only need part of a document, test one page first. Ten seconds of checking beats proofreading forty pages of noise.
FAQ
Is OCR the same as scanning?
No. Scanning creates the image. OCR reads the text out of that image. A scanner without OCR gives you a picture of a document; OCR gives you the document's text.
Does OCR work on photographs taken with a phone?
Often yes, if the page is flat, well lit and in focus. Skew and perspective are the usual problems, and most engines correct mild skew automatically.
How accurate is it really?
Clean modern print is usually very good. Old or faded print typically needs a proofreading pass. Handwriting is variable. The honest answer is that OCR removes most of the typing work rather than all of it — see the mistakes to look for.
Does OCR preserve the original formatting?
Usually not. Columns, font sizes and spacing are lost, and you get text in reading order. If the structure matters — tables, forms, invoices — you will reformat afterwards, or choose a tool that exports a searchable PDF: it keeps the original page appearance and layers a text layer underneath, so the document looks identical but can be searched and copied.
Can one document contain two languages?
Yes, and in Indian documents it is common: English headings over Tamil or Hindi body text. Engines with automatic language detection handle this; forcing a single language onto a mixed page is the most frequent cause of a document that reads perfectly for half a page and then falls apart.
Is an online OCR tool safe for personal documents?
Check the retention policy before you upload anything. Meow OCR deletes uploaded files automatically after two days and needs no account, so nothing is tied to your identity. For legally sensitive material — contracts, medical records, identity documents — desktop software that never uploads the file is still the safer answer.

