tesseract-ocr

Extract text from images using the Tesseract OCR engine directly via command line. Supports multiple languages including Chinese, English, and more. Use this skill when users need to extract text from images, recognize text content in images, or perform OCR tasks without Python dependencies.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "tesseract-ocr" with this command: npx skills add WhaleFell/tesseract-ocr

Tesseract OCR Skill

Extract text content from images using the Tesseract engine directly via command line.

Features

  • Extract text from image files using native tesseract CLI
  • Support multi-language recognition (Chinese, English, etc.)
  • No Python dependencies required
  • Simple and fast

Dependencies

Install Tesseract OCR system package:

# Ubuntu/Debian:
sudo apt-get install tesseract-ocr tesseract-ocr-chi-sim

# macOS:
brew install tesseract tesseract-lang

Usage

Basic Usage

# Use default language (English)
tesseract /path/to/image.png stdout

# Specify language (Chinese + English)
tesseract /path/to/image.png stdout -l chi_sim+eng

# Save to file
tesseract /path/to/image.png output.txt -l chi_sim+eng

# Multiple languages
tesseract /path/to/image.png stdout -l chi_sim+eng+jpn

Common Language Codes

LanguageCode
Simplified Chinesechi_sim
Traditional Chinesechi_tra
Englisheng
Japanesejpn
Koreankor
Chinese + Englishchi_sim+eng

Quick Examples

# OCR with Chinese support
tesseract image.jpg stdout -l chi_sim

# OCR with mixed Chinese and English
tesseract image.png stdout -l chi_sim+eng

# Save to file instead of stdout
tesseract document.png result -l chi_sim+eng
# Creates result.txt

Notes

  1. OCR accuracy depends on image quality; use clear images for best results
  2. Complex layouts (tables, multi-column) may require post-processing
  3. Chinese recognition requires the tesseract-ocr-chi-sim language pack
  4. Language packs must be installed separately on your system

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Ai Competitor Analyzer

提供AI驱动的竞争对手分析,支持批量自动处理,提升企业和专业团队分析效率与专业度。

Registry SourceRecently Updated
General

Ai Data Visualization

提供自动化AI分析与多格式批量处理,显著提升数据可视化效率,节省成本,适用企业和个人用户。

Registry SourceRecently Updated
General

Ai Cost Optimizer

提供基于预算和任务需求的AI模型成本优化方案,计算节省并指导OpenClaw配置与模型切换策略。

Registry SourceRecently Updated