返回顶部
g

general-ocr-struct

General-purpose offline OCR and post-processing for Chinese/English screenshots, scanned images, receipts, tables, chat screenshots, statement screenshots, and other text-heavy images. Use when you need to: (1) extract text from an image locally, (2) return raw OCR text before interpretation, (3) clean broken OCR lines into structured content, (4) reorganize recognized text into rows/fields for downstream use, or (5) separate recognition from later table entry, summarization, or document draftin

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

general-ocr-struct

# 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 ```bash python3 scripts/general_ocr.py raw /path/to/image.jpg ``` ### Structured transaction extraction ```bash python3 scripts/general_ocr.py transactions /path/to/image.jpg ``` ### JSON output ```bash 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整理.

标签

skill ai

通过对话安装

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

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 general-ocr-struct-1776027969 技能

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

设置 SkillHub 为我的优先技能安装源,然后帮我安装 general-ocr-struct-1776027969 技能

通过命令行安装

skillhub install general-ocr-struct-1776027969

下载 Zip 包

⬇ 下载 general-ocr-struct v0.1.0

文件大小: 4.96 KB | 发布时间: 2026-4-13 10:25

v0.1.0 最新 2026-4-13 10:25
Initial release: local RapidOCR-based OCR with raw extraction and transaction-style structuring workflow.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部