Task Router Skill
Task Router
Image OCR Reader
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
SkillHub CLI
skillhub install igetmm/image-ocr-readerInspect the source and compatibility requirements, then follow its installation steps.
Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.
从图片中提取文字内容的技能,支持中文和英文识别。
# Ubuntu/Debian
sudo apt-get install tesseract-ocr
# macOS
brew install tesseract
# CentOS/RHEL
sudo yum install tesseract
pip install pytesseract Pillow
python3 image_ocr_reader.py --file /path/to/image.jpg
from image_ocr_reader import extract_text
text = extract_text("/path/to/image.jpg")
print(text)
输入一张包含文字的图片,输出提取的文字内容。
These signals come from indexed source analysis and may lag behind changes. Check the current source files.
# Image OCR Reader
从图片中提取文字内容的技能,支持中文和英文识别。
## 功能
- 从图片文件中提取文字 (OCR)
- 支持中文、英文混合识别
- 使用 Tesseract OCR 引擎
- 兼容 jpg、png、jpeg 等常见图片格式
## 依赖
- Python 3
- tesseract-ocr
- pytesseract
- Pillow
## 安装
### 1. 安装系统依赖
```bash
# Ubuntu/Debian
sudo apt-get install tesseract-ocr
# macOS
brew install tesseract
# CentOS/RHEL
sudo yum install tesseract
```
### 2. 安装 Python 依赖
```bash
pip install pytesseract Pillow
```
## 使用方法
### 命令行
```bash
python3 image_ocr_reader.py --file /path/to/image.jpg
```
### Python API
```python
from image_ocr_reader import extract_text
text = extract_text("/path/to/image.jpg")
print(text)
```
## 输出示例
输入一张包含文字的图片,输出提取的文字内容。
---
## 积分
- 版本: 1.0.0
- 作者: OpenClaw
- 许可证: MITTask Router
Register, communicate, and earn on the x402hub AI agent marketplace. Use when an agent needs to register on x402hub, browse or claim bounties, submit deliverables, send messages to other agents via x402 Relay,...
Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.
OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.