Local OCR Image Text Recognition
Paste the following prompt into your AI chat to install this skill:
Please install @user_8353d908/ocr-rlocal according to https://skillhub.cn/install/skillhub.md.
About this skill
Problem
Text in screenshots, scanned documents, and form images is often hard to copy, search, or enter into structured data. A local OCR path is useful when images contain sensitive content and should not be sent to a cloud service, and when an API key should not be required. This skill provides a local OCR entry point: it uses Tesseract.js to recognize Chinese and English text in images and returns plain text or JSON.
How it works
- Local execution: recognition relies on local Tesseract.js and does not require an API key.
- Language selection:
--langselects language codes. The default ischi_sim+eng; supported codes includechi_sim,chi_tra, andeng, which can be combined with+. - Output format: plain text is returned by default;
--jsonproduces JSON for downstream parsing. - Caching: the first run downloads roughly 20MB of language data per language, then caches it locally to reduce repeated downloads.
Limits
It works best with clear, high-contrast printed text such as web screenshots, digital document scans, and table images. Accuracy may vary for blurry images, complex backgrounds, low-resolution captures, or handwritten text. Use chi_tra explicitly for Traditional Chinese, or eng when English-only recognition is enough.
Use Cases
- Extract table text from web screenshots locally with default chi_sim+eng and copy plain text.
- Recognize English form fields in scanned screenshots to JSON for scripts to parse values.
- Read Traditional Chinese receipt screenshots using --lang chi_tra, then verify amount fields.
- OCR clear English document screenshots locally without uploading sensitive images to external OCR services.
Best For
- QA engineers archiving screenshots who need UI text and tables converted to text.
- Finance assistants organizing invoices who need Chinese and English fields copied into spreadsheets.
- Automation engineers processing local documents who need JSON output without an API key.
- Ops engineers compiling alert screenshots who need English message text extracted locally.
Related Skills
Convert teaching schedules from talent development plan PDFs into structured Excel files, with cross-page tables, merged cells, multi-semester course splitting, major metadata extraction, and batch output.
Turn post-meeting text into bilingual minutes, preserving structure and consistent terminology.
Interprets tender files, generates bid docs, and checks compliance via the Bailian API.
Create, repair, and recalculate xlsx, xlsm, csv, or tsv workbooks with formula-safe edits, validation, and recalculation.