← 返回 Skills 市场
110
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install img-ocr
功能描述
图片文字识别工具,基于Tesseract OCR。当用户提到:图片识别、OCR、文字提取、图片转文字、识别图片里的文字时使用。
使用说明 (SKILL.md)
img-ocr
Image text recognition tool based on Tesseract OCR.
Dependencies
- Python3
- pytesseract:
pip3 install pytesseract - Pillow:
pip3 install Pillow - Tesseract OCR:
sudo apt install tesseract-ocr - Chinese lang pack:
sudo apt install tesseract-ocr-chi-sim
Quick Usage
python3 skills/img-ocr/scripts/ocr.py /path/to/image.jpg
Typical Scenarios
# Recognize Chinese + English
python3 skills/img-ocr/scripts/ocr.py screenshot.png
# Extract text from screenshot
python3 skills/img-ocr/scripts/ocr.py /path/to/screenshot.jpg
安全使用建议
This skill appears to do exactly what it says: run a local Tesseract OCR on an image file and print the text. Before installing or running it: 1) be prepared to install system packages (tesseract and language packs) with sudo on Debian/Ubuntu; 2) note the SKILL.md path mismatch (the docs reference skills/img-ocr/scripts/ocr.py but the repo contains ocr.py at the root) — verify the correct path when invoking; 3) the script reads any filesystem path you pass it, so avoid giving paths to sensitive files you don't want processed or exposed; 4) this skill does not transmit results over the network, but if you integrate it into automated workflows, confirm downstream handling of extracted text (where it might be sent or stored).
功能分析
Type: OpenClaw Skill
Name: img-ocr
Version: 1.0.1
The skill is a straightforward implementation of an OCR tool using the Tesseract engine. The Python script (ocr.py) uses standard libraries (pytesseract and Pillow) to process local image files and print the extracted text, with no evidence of network activity, data exfiltration, or malicious instructions in the documentation (SKILL.md).
能力评估
Purpose & Capability
Name/description (image OCR) align with the included code and instructions: the Python script uses pytesseract and Pillow to read an image path and print recognized text.
Instruction Scope
Instructions are narrowly scoped to installing Tesseract/pytesseract and running the OCR script, but SKILL.md references a different script path (skills/img-ocr/scripts/ocr.py) than the provided file (ocr.py). Installation steps use apt (sudo) which requires privilege to install system packages—expected for Tesseract but should be noted.
Install Mechanism
No install spec in the registry; dependency instructions are manual (pip and apt). No downloads from third-party URLs or archive extraction are present in the package.
Credentials
No environment variables, credentials, or config paths are requested. The script only reads the image file path provided as an argument.
Persistence & Privilege
Skill is not always-enabled and does not attempt to modify agent/system configs. It does not request persistent privileges or autonomous elevated presence.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install img-ocr - 安装完成后,直接呼叫该 Skill 的名称或使用
/img-ocr触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
英文描述更新
v1.0.0
图片文字识别工具,基于Tesseract OCR,支持中文和英文
元数据
常见问题
Img Ocr 是什么?
图片文字识别工具,基于Tesseract OCR。当用户提到:图片识别、OCR、文字提取、图片转文字、识别图片里的文字时使用。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 110 次。
如何安装 Img Ocr?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install img-ocr」即可一键安装,无需额外配置。
Img Ocr 是免费的吗?
是的,Img Ocr 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Img Ocr 支持哪些平台?
Img Ocr 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Img Ocr?
由 Frank_Jin(@ginntech)开发并维护,当前版本 v1.0.1。
推荐 Skills