Image OCR Guide: Extract Text from Photos, Chinese & English

A whiteboard photo from a meeting, a tracking number on a shipping label, a contract clause inside a scanned document — whenever you can see the text in an image but can't copy it, OCR (optical character recognition) turns the picture into editable text.

Image OCR runs on the open-source Tesseract engine entirely inside your browser. The image never leaves your device, so it's suitable for IDs, contracts and anything you'd rather not upload.


Quick Start

  1. Open Image OCR and pick a recognition language in the "Languages" dropdown — the default is "Simplified Chinese + English".
  2. Choose a file under "Image"; a thumbnail preview appears.
  3. Click the start button. On first use you'll see "Initializing…", then a "Recognizing N%" progress indicator.
  4. When finished, the text appears in the "Recognized text" box where you can edit it directly, then use "Copy Text" or "Download TXT" (saved as ocr-result.txt).

Note: after changing the image or the language you need to start processing again. Switching language combinations re-initializes the engine, which takes longer than repeated runs on the same language.


Features & Options

Language Options and Tesseract Codes

Each dropdown entry maps to a Tesseract language code; combine languages with +:

Option Code Best for
Simplified Chinese + English eng+chi_sim Mixed CN/EN documents (default)
Simplified Chinese chi_sim Pure Chinese, slightly faster
English eng Plain English, digits, code screenshots
Japanese + English jpn+eng Mixed JP/EN content
Traditional Chinese + English chi_tra+eng Mixed TC/EN content

Common codes: eng English, chi_sim Simplified Chinese, chi_tra Traditional Chinese, jpn Japanese, kor Korean, fra French, deu German, spa Spanish, rus Russian. For mixed content, include every script present — recognizing an English paragraph with only a Chinese pack tends to turn letters into similar-looking Han characters.

Why the First Run Is Slow

After you press start, the tool loads three things from a CDN: the Tesseract worker script, the WebAssembly core, and the language pack for your selection (several MB per language). While that happens the status stays at "Initializing…" — that's normal. Language packs are cached by the browser, so later runs with the same language are much faster; switching combinations downloads the new pack.

What Affects Accuracy

  • Resolution: body text should be at least ~20 px tall; smaller glyphs blur together.
  • Contrast: dark text on a light background works best; avoid shadows and glare when shooting.
  • Skew: shoot straight-on; Tesseract has limited tolerance for heavy rotation or perspective distortion.
  • Typeface: printed faces (Song, Hei, Arial) are recognized reliably; decorative scripts fail much more often.

Field-shooting advice: even lighting, phone held parallel to the page, text filling the frame — these upfront details improve accuracy more than any after-the-fact tweaking.

Good vs. Poor Use Cases

Good: scans, screenshots, ID photos, slides and whiteboard captures — printed text; tables with mixed CN/EN.

Poor: handwriting (Tesseract is a classic OCR engine, not a handwriting model); faithful layout reproduction (output is plain text without fonts, colors or table rules); extremely low-resolution CCTV stills.


Notes & FAQ

Q: Are images uploaded to a server? No. Recognition runs in the browser via WebAssembly; once resources are cached, it even works offline.

Q: Can it read a scanned PDF? This tool only accepts image files. For text-based PDFs use PDF Extract Text; for scanned PDFs, convert pages to images first.

Q: The result says "(No text recognized)". Usually the image contains no legible text, or the language doesn't match the content (e.g. running English on a pure-Chinese image). Check the language option and retry with a sharper image.

Q: Can it process multiple images at once? No — one image per run. For true batch OCR, install the Tesseract CLI locally and script it; this tool is built for quick single-image recognition.

Q: Which language for code screenshots or English documents? Choose "English". Loading a Chinese pack can misread brackets and quotes as Han characters; single-language recognition is cleaner for pure English.

Q: Paragraph order is jumbled. OCR emits text by layout blocks; multi-column pages or mixed figures may come out in a non-reading order — rearrange in the text box afterwards.


#OCR#文字识别#图片#扫描#免费