OCR stands for optical character recognition. Its job is to turn an image containing text into text you can copy and search. There are now free engines that run in the browser with no image leaving your machine, and they support Thai. What determines quality most is not the tool but the quality of the image you feed it.
How OCR works, in three stages
- Separate the background from the characters — the engine converts to black and white and works out which pixels are character strokes. This is where a dark or shadowed image fails hardest
- Cut into lines and characters — find the baseline of each line, then split into character groups
- Match shapes against known forms — compare with the trained model and return a result with a confidence score
Because the second stage has to find the baseline of each line, an image tilted by even a few degrees makes the result visibly worse. This is why shooting straight matters more than having a high-resolution camera.
Why Thai is harder than English
- Vowels and tone marks sit at four levels — above, middle, below and deep below, which makes line segmentation harder than in a single-level script
- No spaces between words — the engine has to guess word boundaries, producing errors where every character is right and the word break is wrong
- Characters that look alike — forms differing only in whether a loop opens inward or outward swap easily at low resolution
- Display fonts — loopless and decorative fonts popular in graphic work look very different from what the model was trained on
If the output is nearly all readable but the word breaks are wrong, paste it into something with a Thai spell checker and fix the specific spots. That is faster than trying to make OCR produce a perfect result in one pass.
Preparing an image so OCR reads it better
- Shoot or capture so the characters are at least twenty pixels tall. For a screenshot, zoom the page in first with Ctrl and plus
- Align the lines with the edge of the image. If it is tilted, rotate it first
- Find even lighting. Avoid hand shadows and flash reflections
- Crop to the text area only. Surrounding elements distort the result
- If the background is patterned or dark, raise the contrast before reading
- For a multi-page document, read one page at a time and combine the results afterwards
Free tools that genuinely work
There are more no-cost options than people think. First, Tesseract-style engines compiled to WASM and run in the browser, where the image never leaves the machine and it works offline. Second, the copy-text-from-image feature built into modern operating systems. Third, web tools with a daily free quota.
- If the document is confidential, choose a tool that processes locally only
- If you need maximum accuracy on handwriting, you have to accept sending it to a service with a large model
- For continuous high volume, check whether the tool can read several files at once
- If you need to read tables, choose a tool with a rows-and-columns table mode
What OCR still cannot do
OCR reads characters; it does not understand meaning. It does not know which cell in a table is the total, whose signature is where, or that one misread digit changes an amount tenfold. Anything where the numbers matter needs a person to check.
The other limit is documents with complex columns or overlapping text boxes, where the engine reads in the wrong order and the meaning changes. In that case, selecting one region at a time and reading each separately works better than reading the whole page in one go.
OCR accuracy is decided when you press the shutter, not when you choose the tool.
Frequently asked questions
Is local OCR very different from cloud OCR?
They differ on two axes. Accuracy: larger cloud models generally read handwriting and poor-quality images better. Privacy and cost: a local engine never sends the image anywhere, works offline, and costs nothing per run. For ordinary printed documents the accuracy gap is usually not enough to justify sending the data out.
Can it read text out of a scanned PDF?
Yes, with a tool that supports multi-page PDFs, because a scan is images wrapped in a PDF rather than text. The quick test: drag across the text in the file, and if nothing gets selected, it is a scan that needs OCR first.
The output has a lot of errors. What should I fix first?
Always fix the source image first. In order of impact: make the characters larger, straighten the image, and increase the contrast. Those three do more than changing tool, and take under a minute.