← 返回 Skills 市场
147
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install liaogong-ocr
功能描述
🔍 廖工AI设计实战出品 | LiaoGong-OCR — easyocr+tesseract双引擎OCR,15条预处理链含实测基准,手机拍屏数字识别87%准确率。支持中文海报/截图/英文文档/手机拍照/批量转文字。Use when: OCR this image, extract text from imag...
使用说明 (SKILL.md)
LiaoGong-OCR · 廖工双引擎OCR
廖工AI设计实战出品 — easyocr + tesseract 双引擎OCR系统,15条可组合预处理链含实测基准数据。
三种用法
| 用法 | 命令/代码 | 场景 |
|---|---|---|
| CLI工具 | liaogong-ocr image.jpg |
命令行一键提取文字 |
| Python库 | from liaogong_ocr import OCREngine |
集成到你的Python项目 |
| AI Agent | npx clawhub@latest install liaogong-ocr |
AI智能体自动触发OCR |
快速开始
# 安装系统依赖 tesseract(Windows用 winget install tesseract-ocr)
pip install -r requirements.txt
liaogong-ocr your_image.jpg
引擎模式
| 模式 | 命令 | 最适合 |
|---|---|---|
| 自动 | liaogong-ocr img.jpg |
通用场景,自动选择引擎 |
| easyocr | liaogong-ocr -e easyocr img.png |
中文海报、截图、复杂排版 |
| tesseract | liaogong-ocr -e tesseract doc.png |
英文文档、白底黑字 |
| 手机拍照 | liaogong-ocr -p phone photo.jpg |
手机拍屏幕(87%数字准确率) |
预处理链(手机拍屏幕数字提取实测)
| 预处理链 | 数字准确率 | 速度 |
|---|---|---|
| optimal_phone | 87% | 快 |
| grayscale_binary | 72% | 快 |
| contrast_enhance | 65% | 快 |
| sharpen | 55% | 快 |
| clahe | 31% | 中 |
| adaptive_binary | 18% | 慢 |
系统要求
- Python 3.8+
- Tesseract(系统安装)
- 首次运行 easyocr 需下载 ~100MB 模型
廖工AI设计实战出品 · github.com/jnbno1163
安全使用建议
Do not treat this as a complete security review. Re-run the scan in an environment where metadata.json and artifact/ can be read before installing or approving the skill.
能力标签
能力评估
Purpose & Capability
Unable to assess purpose and capabilities from metadata.json or artifact files because workspace inspection failed before any artifact content could be read.
Instruction Scope
Unable to assess runtime instructions or scope boundaries because artifact/SKILL.md could not be read.
Install Mechanism
Unable to assess install mechanism because install specs and file contents could not be inspected.
Credentials
Unable to assess environmental access or proportionality without artifact evidence.
Persistence & Privilege
Unable to assess persistence or privilege behavior without artifact evidence.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install liaogong-ocr - 安装完成后,直接呼叫该 Skill 的名称或使用
/liaogong-ocr触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
中英双语描述,方便全球用户搜索使用
v1.0.0
- Initial release of liaogong-ocr, version 1.0.0.
- Dual OCR engine: combines easyocr and tesseract for improved results.
- Features 15 configurable pre-processing chains; optimal for mobile screen digit recognition with 87% accuracy.
- Supports multiple usage modes: CLI tool, Python library, and integration as an AI Agent.
- Suitable for Chinese posters, screenshots, English documents, and batch image-to-text conversions.
元数据
常见问题
LiaoGong-OCR 是什么?
🔍 廖工AI设计实战出品 | LiaoGong-OCR — easyocr+tesseract双引擎OCR,15条预处理链含实测基准,手机拍屏数字识别87%准确率。支持中文海报/截图/英文文档/手机拍照/批量转文字。Use when: OCR this image, extract text from imag... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 147 次。
如何安装 LiaoGong-OCR?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install liaogong-ocr」即可一键安装,无需额外配置。
LiaoGong-OCR 是免费的吗?
是的,LiaoGong-OCR 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
LiaoGong-OCR 支持哪些平台?
LiaoGong-OCR 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(win32, darwin, linux)。
谁开发了 LiaoGong-OCR?
由 jnbno1163(@jnbno1163)开发并维护,当前版本 v1.0.1。
推荐 Skills