← 返回
未分类 中文

General OCR Struct

Offline OCR extracting and structuring Chinese/English screenshot text into raw or cleaned rows and fields for receipts, tables, and statements.
离线OCR提取并结构化中英文截图文字,支持将收据、表格、账单等图片中的文字转换为原始或清洗后的行列字段。
9penny 9penny 来源
未分类 clawhub v0.1.0 1 版本 99893.4 Key: 无需
★ 0
Stars
📥 937
下载
💾 7
安装
1
版本
#latest

概述

General OCR Struct

Use this skill to separate OCR recognition from downstream content整理.

Workflow

  1. Run the local OCR script on the image first.
  2. Return the raw OCR text before making business interpretations when accuracy matters.
  3. If the image is a transaction-detail screenshot, run structuring mode to group rows into fields.
  4. Mark uncertain fields explicitly as 待确认; do not guess missing content.
  5. Only after the user confirms recognition quality, use the result for tables, summaries, or documents.

Commands

Raw OCR

python3 scripts/general_ocr.py raw /path/to/image.jpg

Structured transaction extraction

python3 scripts/general_ocr.py transactions /path/to/image.jpg

JSON output

python3 scripts/general_ocr.py transactions /path/to/image.jpg --json

Output rules

  • Prefer showing the recognition result first, then the cleaned structure.
  • Preserve source wording where possible.
  • For uncertain content, use 待确认 instead of inferring.
  • Adapt the structure to the source image type. For statement-like screenshots, common fields are: card_last4, date, time, currency, merchant, amount.

Notes

  • This skill uses RapidOCR locally.
  • First install may need Python packages; after setup it runs offline.
  • If OCR quality is weak, request a higher-resolution original screenshot before doing deeper整理.

版本历史

共 1 个版本

  • v0.1.0 当前
    2026-03-30 18:00 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

dev-programming

Repo Analysis

9penny
以工程化方式阅读、解析和评估软件仓库或GitHub项目,适用于用户需要读取仓库、理解代码库等场景。
★ 0 📥 496
data-analysis

AdMapix

fly0pants
AdMapix 原始数据层,提供广告创意、应用、排名、下载/收入及市场元数据。返回 AdMapix API 的结构化 JSON;调用方...
★ 297 📥 141,049
data-analysis

Data Analysis

ivangdavila
{"answer":"数据分析与可视化。查询数据库、生成报告、自动化电子表格,将原始数据转化为清晰可行的见解。适用于:(1) 您……"}
★ 210 📥 68,841