Back to Registry
View Author Profile
Official Verified
Image Ocr Reader
Skill by igetmm
skill-install — Terminal
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/igetmm/image-ocr-readerOr
Image OCR Reader
从图片中提取文字内容的技能,支持中文和英文识别。
功能
- 从图片文件中提取文字 (OCR)
- 支持中文、英文混合识别
- 使用 Tesseract OCR 引擎
- 兼容 jpg、png、jpeg 等常见图片格式
依赖
- Python 3
- tesseract-ocr
- pytesseract
- Pillow
安装
1. 安装系统依赖
# Ubuntu/Debian
sudo apt-get install tesseract-ocr
# macOS
brew install tesseract
# CentOS/RHEL
sudo yum install tesseract
2. 安装 Python 依赖
pip install pytesseract Pillow
使用方法
命令行
python3 image_ocr_reader.py --file /path/to/image.jpg
Python API
from image_ocr_reader import extract_text
text = extract_text("/path/to/image.jpg")
print(text)
输出示例
输入一张包含文字的图片,输出提取的文字内容。
积分
- 版本: 1.0.0
- 作者: OpenClaw
- 许可证: MIT
Metadata
AI Skill Finder
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skill Add to Configuration
Paste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-igetmm-image-ocr-reader": {
"enabled": true,
"auto_update": true
}
}
}Safety NoteClawKit audits metadata but not runtime behavior. Use with caution.