agentsclimarketplace

Paddle ocr

Skill bokuwalily/claude-code-skills/skills/paddle-ocr

75 battle-tested Claude Code skills from shipping 20+ apps solo — macOS, Next.js, Vercel, iOS/Expo, Cloudflare, Phaser, local AI media & more

Install
npx -y skills add bokuwalily/claude-code-skills --skill paddle-ocr

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

画像・PDF・スクショからテキストを構造抽出したい時(請求書/領収書/名刺/フォーム/lead-finderの店舗看板等)。日英中韓100+言語、信頼度スコア+bounding box付き。バッチ/プログラム処理向け。内蔵ビジョンで足りない高精度・座標・大量処理が要る時に使う。

SKILL.md

2.3 KB, 779 tokens by cl100k_base, as published. Nobody here has run it

PaddleOCR ローカルOCR

完全ローカル・無料。永続venv: ~/oss-trial/paddleocr/(py3.12、モデルは~/.paddlexにキャッシュ)。

Procedure

cd ~/oss-trial/paddleocr

# プレーンテキスト(1行=1領域、[信頼度] 本文)
.venv/bin/python ocr.py <画像orPDF> --lang japan

# プログラム用JSON(text+score+box座標)
.venv/bin/python ocr.py <画像> --json --min-score 0.85

# 言語切替: japan / en / ch / korean ...
.venv/bin/python ocr.py receipt.png --lang japan
  • 推論は1画像~2-3秒(初回のみモデルロード+30秒)
  • PDF直接OK。複数領域はrec_texts順で返る
  • バッチは画像パスをループでocr.pyに渡す

Pitfalls

  • 桁区切り誤読: 128,400128.400(カンマがピリオド化)。金額は必ず目視 or --jsonのscore確認。請求書/領収書で致命的
  • 簡体字グリフ混入: 日本語でも稀に 額→额 処→处 等の簡体字が出る(中国語データ主体のため)。重要語は要チェック
  • 単語間スペース欠落: Thank youThankyou。CJKは元々スペース無いので通常問題なし。英文は後処理で補う
  • 低信頼行は0.85前後で自己申告: --min-scoreで機械的に弾ける。怪しい行はscoreを見る
  • Python 3.14不可: paddlepaddleのホイールが無い。venvは3.12固定(uv venv --python 3.12
  • /tmpに作らない(揮発)。venvは~/oss-trial/paddleocrに永続化済

Verification

cd ~/oss-trial/paddleocr
.venv/bin/python ocr.py ocr_test.png --lang japan
# 期待: 5行抽出、請求書ヘッダ0.97/会社名0.98/合計金額0.86(低=桁注意)/支払期限0.96/英文0.98

2026-06-09検証: 日英混在請求書で文字精度95%+・推論2.3秒・低信頼行を0.86で正しくフラグ。

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.