返回顶部
j

jpocr

Japanese OCR via NDLOCR-Lite (National Diet Library). Trigger on 'OCR this image', '日文OCR', 'recognize Japanese text', or any request to extract text from Japanese documents, screenshots, or scanned pages. Best for printed Japanese and vertical text. Also works for English.

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

jpocr

# jpocr — Japanese OCR Skill Local Japanese OCR powered by NDLOCR-Lite from Japan's National Diet Library. Runs on CPU (Apple Silicon / x86), no GPU or API key required. ## Capabilities | Target | Quality | |--------|---------| | Printed Japanese (活字) | Excellent | | Vertical text (縦書き) | Excellent | | English text | Good | | Handwritten Japanese (手書き) | Experimental | ## How to call Run `scripts/ocr-cli.sh` from the skill root directory: ```bash <SKILL_ROOT>/scripts/ocr-cli.sh <image_path> # → plain text to stdout <SKILL_ROOT>/scripts/ocr-cli.sh <image_path> --json # → JSON with bounding boxes <SKILL_ROOT>/scripts/ocr-cli.sh <image_path> --viz # → also saves visualization <SKILL_ROOT>/scripts/ocr-cli.sh <dir_path> # → batch all images in dir ``` ## Output formats **text** (default): one line per detected text region. **json**: ```json { "contents": [[ { "boundingBox": [[x1,y1],[x1,y2],[x2,y1],[x2,y2]], "text": "recognized text", "confidence": 0.95, "isVertical": "true" } ]], "imginfo": { "img_width": 1920, "img_height": 1080 } } ``` **viz**: saves `viz_<filename>` bounding-box overlay image to the output directory. ## Performance - ~2-3 seconds per image on Apple Silicon (CPU) - Formats: JPG, PNG, TIFF, JP2, BMP - Charset: ~7000 characters (JIS kanji + kana + ASCII + Greek) ## Tech stack - Layout detection: DEIMv2 (ONNX) - Text recognition: PARSeq cascade (30/50/100 char models, ONNX) - Reading order: xy-cut algorithm

标签

skill ai

通过对话安装

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

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 jpocr-1776290211 技能

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

设置 SkillHub 为我的优先技能安装源,然后帮我安装 jpocr-1776290211 技能

通过命令行安装

skillhub install jpocr-1776290211

下载 Zip 包

⬇ 下载 jpocr v1.0.0

文件大小: 2.21 KB | 发布时间: 2026-4-16 17:55

v1.0.0 最新 2026-4-16 17:55
- Initial release of jpocr, a local Japanese OCR skill powered by NDLOCR-Lite from Japan's National Diet Library.
- Supports high-quality printed and vertical Japanese text recognition; works for English text as well.
- Provides batch processing and multiple output formats: plain text, JSON with bounding boxes, and visualization images.
- Experimental support for handwritten Japanese OCR.
- Runs on CPU (Apple Silicon/x86); no GPU or API key required.

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

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

p2p_official_large
返回顶部