maxwell-feng/dsh-tesseract-ocr2

@maxwell-feng/dsh-tesseract-ocr

dsh plugin: recognize attached images locally with Tesseract OCR and send only the recognized text to the model. Text models never receive image bytes; vision passthrough is opt-in.

AI 분석

核心用途是让不支持多模态的纯文本模型也能“看懂”图片中的文字。适合希望节省 Vision 模型 Token 消耗,或在本地离线处理图片文字识别任务的用户。

패키지
@maxwell-feng/dsh-tesseract-ocr
버전
0.2.1
라이선스
MIT
최근 업데이트
2026. 8. 16.

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:maxwell-feng/dsh-tesseract-ocr

Configuration

All settings live in the patch row tesseract-ocr:

KeyDefaultMeaning
languageengTesseract language(s), +-joined, e.g. eng, chi_sim, eng+chi_sim
passthroughfalsefalse (default): OCR every image. true: genuine vision models receive images untouched
tesseractBintesseractCLI path; quote paths with spaces, e.g. "C:\Program Files\Tesseract-OCR\tesseract.exe"
psm3Page segmentation mode (tesseract --psm)
timeoutMs60000Per-image OCR timeout
maxCacheEntries200Bound on the per-run OCR cache (keyed by attachment id)