ocr-local

Extract Chinese and English text from images using on-device Tesseract.js OCR.

52|3|Updated Apr 3, 2026
One-click install
npx skills add https://github.com/Zhow01/SkillAttack --skill ocr-local
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ocr-local
Source: https://github.com/Zhow01/SkillAttack/tree/main/data/hot100skills/074_shaw555_ocr-local
Command: npx skills add https://github.com/Zhow01/SkillAttack --skill ocr-local

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires tesseract.js, and includes scripts (resource) components.

What problem does it solve?

Extract text from images using on-device OCR to convert visuals into searchable text without external services.

Core Features & Use Cases

  • Local text recognition for images in Chinese and English
  • No API key required; runs entirely on-device with Tesseract.js
  • Use cases include digitizing documents, screenshots, and photos

Quick Start

Run the OCR script on an image to extract text locally.

Frequently Asked Questions about ocr-local

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract text from an image locally without an API key?

To extract text from an image locally, you can use on-device OCR with Tesseract.js to convert visuals into searchable text without requiring any external API keys or services.

Can I use on-device OCR for Chinese and English text recognition?

Yes, on-device OCR supports multi-language text recognition for both Chinese and English, allowing you to digitize documents, screenshots, and photos entirely on your local machine.

What is the best way to digitize screenshots without sending data to external services?

The best way to digitize screenshots locally is using on-device OCR, which processes images entirely on your machine with Tesseract.js to ensure data privacy without external service calls.

How to convert image text to searchable and editable text using local OCR?

Convert image text to searchable text by running a local OCR script that uses Tesseract.js to process the image and output the recognized text in either plain text or JSON format.

Does local OCR with Tesseract.js output plain text or JSON?

Local OCR with Tesseract.js supports both plain text and JSON output formats, giving you the flexibility to integrate the extracted image text into downstream applications or store it directly.