O que é o OCR e qual é a sua precisão?
OCR stands for optical character recognition. It is the technology that looks at a picture of a page and works out which letters are on it. Without OCR, a scanned contract is just a photograph: you can read it, but your computer can't search it, copy from it or read it aloud.
PDF OCR — Make scans searchable or copy their text. Free under 200 KB.
Open PDF OCRHow OCR works
- Clean up. The software separates dark text from the light background.
- Find the text. It locates blocks, lines and individual words on the page.
- Recognise. A trained model turns each word's shapes into likely letters, using its knowledge of the chosen language to pick the most probable reading.
- Output. The result is plain text, or a searchable PDF with the words stored invisibly over the page image.
How accurate is it?
It depends far more on the page than on the software. On a clean, straight scan of printed text, modern OCR gets the great majority of words right. On a faint photocopy or a crumpled photo, results can drop sharply. No OCR is perfect, so plan on checking anything that matters.
| Works well | Works poorly |
|---|---|
| Printed text in a common font | Handwriting |
| Dark text on a plain background | Faint, faded or low-contrast pages |
| Straight, flat pages | Tilted, curled or shadowed pages |
| Normal text sizes | Very small print and low resolution |
| Simple single-column layouts | Complex tables, stamps over text |
Mistakes to watch for
OCR errors are easy to miss because the result looks plausible. Common slips include 0 and O, 1 and l, 5 and S, rn read as m, and dropped decimal points. Always compare names, dates, amounts and account numbers with the page.
In a searchable PDF, a misread word also affects search: looking for "Smith" won't find it if OCR read "Srnith".
How to get better results
- Scan at around 300 dpi if you can.
- Photograph pages straight on, in good light, with the page filling the frame.
- Turn sideways pages upright first with Rotate PDF.
- Choose the language the document is written in.
Try it on your own document
PDF OCR uses the open-source Tesseract engine and runs in your browser. It reads up to 10 pages per run in English, Spanish, French, German, Portuguese, Italian, Chinese, Japanese and Korean. For Latin-script languages it can produce a searchable PDF that looks exactly like your scan. Chinese, Japanese and Korean are saved as a text file. How to make a scanned PDF searchable walks through it.
Questions
What does OCR stand for?
Optical character recognition: software that reads the letters in an image of text.
Is OCR 100% accurate?
No. Clean printed pages come out well, but you should always check names, numbers and dates.
Can OCR read handwriting?
Standard OCR is built for printed text. Neat handwriting may partly work, but expect errors.
What resolution is best for OCR?
Around 300 dpi is a good target for normal printed text.
What is a searchable PDF?
A PDF that shows the original page image and stores the recognized words invisibly, so you can search and copy them.