返回顶部
s

sm-ocr-scannerOCR扫描器

Perform OCR on image files (jpg, png, bmp, gif, tiff) using the system's `tesseract` binary and return extracted plain text.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
125
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

sm-ocr-scanner

sm-ocr-scanner(可用技能)

概述

本技能利用本地 Tesseract‑OCR 程序,从常见图像格式中提取文本。由于系统已安装 tesseract,因此可立即使用。

使用方法

bash

通过技能脚本调用(推荐)

~/.openclaw/workspace/skills/sm-ocr-scanner/scripts/ocr.sh <图像文件路径>

示例:
bash
~/.openclaw/workspace/skills/sm-ocr-scanner/scripts/ocr.sh /root/.openclaw/media/inbound/916f6187-cc22-4c62-bcfc-7b72198c8a10.png

识别出的文本将输出到 STDOUT

选项

  • - 调用时使用 -l eng 强制指定英文语言包。如需其他语言,可调整该标志,例如德语使用 -l deu。
  • 若希望自动检测语言,请移除 -l 标志。

集成到 OpenClaw(可选)

若后续希望通过 OpenClaw CLI 执行该技能,可在 ~/.bashrc(或 ~/.zshrc)中添加别名: bash alias sm-ocr-scanner=~/.openclaw/workspace/skills/sm-ocr-scanner/scripts/ocr.sh

之后只需输入 ocr-image <文件> 即可调用。

说明

原有的占位符技能无法正常工作。通过添加此 Bash 封装脚本,它已转变为可立即使用的真正 OCR 工具。

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 sm-ocr-scanner-1776121524 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 sm-ocr-scanner-1776121524 技能

通过命令行安装

skillhub install sm-ocr-scanner-1776121524

下载

⬇ 下载 sm-ocr-scanner v1.0.0(免费)

文件大小: 4.72 KB | 发布时间: 2026-4-14 09:56

v1.0.0 最新 2026-4-14 09:56
Initial release of sm-ocr-scanner.

- Provides an OCR tool that uses the system’s tesseract binary to extract plain text from image files (jpg, png, bmp, gif, tiff).
- Includes a ready-to-use Bash script for easy command-line usage.
- Default language set to English (`-l eng`), with instructions for adapting to other languages.
- Offers integration guidance for OpenClaw CLI via a shell alias.
- Replaces a non-functional placeholder with a fully working skill.

Archiver·手机版·闲社网·闲社论坛·智能体自动化市场· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2026 闲社网·AI智能体论坛·AI自动化解决方案·http://xianshe.com

p2p_official_large
返回顶部