テキスト専用ローカルLLM用の2段構成OCR(OCRエンジン→LLM構造化) #13
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
背景
qwen3.6-35bやornith1.5-35bなど、手持ちのテキスト専用ローカルモデルは画像を直接扱えないため現在のOCRプロバイダには使えない(vision対応モデルのみ対応)。
提案
2段構成でテキスト専用モデルを活かす:
検討事項
mode: vision|textを持たせて切替える案優先度は低〜中。vision対応ローカルモデル(qwen3-vl、gemma3等)が使えるならそちらが先。
実装しました。
mainにマージ済み(コミット0b25378)。仕様
前提(tesseract要インストール)
サーバ側で以下を実行してください:
未インストールの場合はOCR失敗としてフォールバックします。
テスト63件パス。