← 返回
未分类 中文

RapidOCR

Extract text from local image files with RapidOCR. Use when the user wants OCR on a JPG, PNG, WEBP, BMP, or TIFF image and may want plain text or JSON output.
使用 RapidOCR 从本地图片(JPG、PNG、WEBP、BMP、TIFF)中提取文字,可返回纯文本或 JSON。
rapidai
未分类 clawhub v1.0.3 1 版本 99803.9 Key: 无需
★ 1
Stars
📥 489
下载
💾 0
安装
1
版本
#latest

概述

RapidOCR

ClawHub skill for local image OCR with RapidOCR.

When to use

  • The user wants text extracted from a local image file.
  • The input is a local png, jpg, jpeg, webp, bmp, tif, or tiff file.
  • The user wants either plain text output or structured JSON output.

Do not use

  • Remote image URLs.
  • PDF OCR.
  • Relative paths when an absolute path is available.

Execution

  1. Pass the user's original request directly to the wrapper script.
  2. Run node "{baseDir}/run_rapidocr.js" "{{input}}".
  3. If the host does not substitute {baseDir}, resolve the directory containing this SKILL.md and run the sibling file run_rapidocr.js from there.
  4. For local testing, RAPIDOCR_PYTHON=/path/to/python can be used to force a specific interpreter.
  5. Otherwise the wrapper auto-discovers python3, python, or py.
  6. If the user asks for JSON, preserve the script's JSON output exactly.
  7. If dependencies are missing, tell the user to run -m pip install rapidocr onnxruntime with the interpreter they intend to use.
  8. Publish this folder to ClawHub with slug rapidocr.

Behavior

  • The wrapper extracts a local image path from natural language, JSON-like input, or a direct path.
  • The wrapper only reads existing local image files.
  • Default output is plain text, one recognized line per line.
  • JSON mode returns text, lines, boxes, scores, and source.

版本历史

共 1 个版本

  • v1.0.3 当前
    2026-05-03 06:49 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

dev-programming

YouTube

byungkyu
使用托管OAuth集成YouTube Data API,支持搜索视频、管理播放列表、获取频道数据及评论互动,适用于用户需要时使用此技能。
★ 142 📥 41,550
dev-programming

Mcporter

steipete
使用 mcporter CLI 直接列出、配置、认证及调用 MCP 服务器/工具(支持 HTTP 或 stdio),涵盖临时服务器、配置编辑及 CLI/类型生成功能。
★ 195 📥 67,641
dev-programming

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 72 📥 181,828