闲社服务运行正常AI智能体自动化平台
s

OCR扫描器

技能标识:sm-ocr-scanner

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
检测标记
后台标记通过
免费
免费获取
0
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

OCR扫描器

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.
返回顶部