π¦ ClawHub
image2text
by @caiming0331
Extract text from images using tesseract OCR, supporting local files, URLs, and base64 inputs for text-only AI models without vision capability.
π‘ Examples
OCR a Chinese receipt:
python3 scripts/ocr.py ~/Downloads/receipt.png --lang chi_sim
English + Chinese mixed:
python3 scripts/ocr.py https://example.com/doc.jpg --lang chi_sim+eng
Plain text only (no markers):
python3 scripts/ocr.py /path/to/image.png --raw
TERMINAL
clawhub install image2text