← 返回 Skills 市场
rishabhdugar

Image OCR Parse

作者 Rishabh Dugar · GitHub ↗ · v1.0.2 · MIT-0
cross-platform ✓ 安全检测通过
81
总下载
1
收藏
1
当前安装
3
版本数
在 OpenClaw 中安装
/install image-ocr-parse
功能描述
Extract text from images via the PDFAPIHub cloud OCR API. Images are uploaded to pdfapihub.com for Tesseract OCR processing. Supports preprocessing (grayscal...
使用说明 (SKILL.md)

Image OCR Parse

What It Does

Extracts text from images via the PDFAPIHub hosted OCR API. Your image is uploaded to PDFAPIHub servers where Tesseract OCR processes it and returns the extracted text. Supports optional image preprocessing to improve OCR quality on low-resolution or noisy inputs.

When to Use

  • Extract text from photos of receipts, signs, or documents
  • OCR business cards, ID cards, or labels
  • Process low-quality images with preprocessing

Required Inputs

Provide one of:

  • image_url — URL to an image
  • base64_image — base64-encoded image
  • Multipart upload with file field

Authentication

This skill calls the PDFAPIHub hosted API at https://pdfapihub.com/api. Your image is uploaded to PDFAPIHub servers for OCR processing.

Send your API key in the CLIENT-API-KEY header.

Get your free API key at https://pdfapihub.com. Full API documentation is available at https://pdfapihub.com/docs.

Privacy note: Images you process are uploaded to PDFAPIHub's cloud service and the extracted text is returned. Do not send sensitive images unless you trust the service. Files are auto-deleted after 30 days.

Use Cases

  • Receipt Scanning — Extract text from receipt photos for expense tracking
  • Business Card Reader — OCR business card images to extract name, phone, email
  • License Plate Recognition — Extract plate numbers from photos (with char_whitelist)
  • Meter Reading — Extract digits from utility meter photos for automated logging
  • Whiteboard Capture — OCR whiteboard or handwritten note photos into text
  • Product Label Scanning — Extract ingredient lists or nutrition info from product label photos

Image Preprocessing Options

Param Default Description
grayscale false Convert to grayscale
sharpen false Apply sharpening
threshold 0 Binarization threshold (1–255)
resize 0 Scale factor (max 4x)

Example Usage

curl -X POST https://pdfapihub.com/api/v1/image/ocr/parse \
  -H "CLIENT-API-KEY: your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "image_url": "https://pdfapihub.com/sample-invoicepage.png",
    "lang": "eng",
    "grayscale": true,
    "sharpen": true,
    "detail": "words"
  }'
安全使用建议
This skill is coherent but remember it sends your images and the extracted text to a third party (pdfapihub.com). Do not upload sensitive images (IDs, passports, medical records, passwords) unless you trust the provider and their retention policy (the SKILL.md claims files are auto-deleted after 30 days). Before installing or using: verify the service domain and privacy/terms pages, use a dedicated API key with limited scope if possible, monitor for unexpected billing, rotate the key if it is ever exposed, and consider local/offline OCR if you need stronger privacy guarantees.
功能分析
Type: OpenClaw Skill Name: image-ocr-parse Version: 1.0.2 The skill is a standard API wrapper for the PDFAPIHub OCR service. It transparently documents its functionality, requires a user-provided API key (PDFAPIHUB_API_KEY), and explicitly warns users that images are uploaded to a third-party cloud service (pdfapihub.com) for processing. No malicious code, obfuscation, or prompt-injection attacks were identified.
能力标签
requires-sensitive-credentials
能力评估
Purpose & Capability
Name/description and declared requirements match: the skill calls a hosted OCR API (pdfapihub.com) and requires PDFAPIHUB_API_KEY. There are no unrelated env vars or binaries requested.
Instruction Scope
SKILL.md explicitly instructs uploading images (image_url, base64_image, or multipart file) to https://pdfapihub.com/api and sending the API key in the CLIENT-API-KEY header. It does not instruct reading unrelated files, environment variables, or system state. It also contains a privacy warning about uploads.
Install Mechanism
No install spec or code files; instruction-only skill. No downloads or archive extraction are performed by the skill itself.
Credentials
Only a single API key (PDFAPIHUB_API_KEY) is required, which is proportional to contacting the external OCR service. The primaryEnv matches the header name documented in SKILL.md/skill.json.
Persistence & Privilege
always is false and the skill is user-invocable. It does not request persistent or cross-skill configuration changes and does not demand elevated platform privileges.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install image-ocr-parse
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /image-ocr-parse 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.2
Declare required credential in SKILL.md metadata (primaryEnv + requires.env). Fixes registry showing no required env vars.
v1.0.1
Clarify hosted API (images uploaded to PDFAPIHub). Add privacy notice. Declare CLIENT-API-KEY credential in description.
v1.0.0
OCR images using Tesseract with optional preprocessing (grayscale, sharpen, threshold, resize). Supports character whitelisting for digits-only extraction. Returns text with confidence scores and optional word-level bounding boxes.
元数据
Slug image-ocr-parse
版本 1.0.2
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 3
常见问题

Image OCR Parse 是什么?

Extract text from images via the PDFAPIHub cloud OCR API. Images are uploaded to pdfapihub.com for Tesseract OCR processing. Supports preprocessing (grayscal... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 81 次。

如何安装 Image OCR Parse?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install image-ocr-parse」即可一键安装,无需额外配置。

Image OCR Parse 是免费的吗?

是的,Image OCR Parse 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Image OCR Parse 支持哪些平台?

Image OCR Parse 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Image OCR Parse?

由 Rishabh Dugar(@rishabhdugar)开发并维护,当前版本 v1.0.2。

💬 留言讨论