Image
Core functionality module for generating and processing image content
clawhub install imageExtract text from images using Tesseract.js OCR (100% local, no API key required). Supports Chinese (simplified/traditional) and English.
# Install Skill (downloads SKILL.md to .claude/skills/) clawhub install ocr-local # Then just tell Claude: "use OCR - Local (No API Key) to help me..."
# Same install command — works with all SKILL.md-compatible AI coding tools clawhub install ocr-local
This Skill is compatible with the OpenClaw standard. After installation, a SKILL.md file is auto-generated, usable by any OpenClaw-compatible AI Agent (Claude Code, Cursor, Windsurf, etc.).
node {baseDir}/scripts/ocr.js /path/to/image.jpg
node {baseDir}/scripts/ocr.js /path/to/image.png --lang chi_sim
node {baseDir}/scripts/ocr.js /path/to/image.jpg --lang chi_tra+eng
--lang <langs>: Language codes (default: chi_sim+eng)chi_sim - Simplified Chinese
- chi_tra - Traditional Chinese
- eng - English
- Combine with +: chi_sim+eng--json: Output as JSON instead of plain text# Recognize Chinese screenshot
node {baseDir}/scripts/ocr.js screenshot.png
# Recognize English document
node {baseDir}/scripts/ocr.js document.jpg --lang eng
# Mixed Chinese + English
node {baseDir}/scripts/ocr.js mixed.png --lang chi_sim+eng
clawhub run ocr-local --image document.png --lang chi_sim --output json | jq '.text'Upload images to img402.dev and get a public URL. Free tier: 1MB max, 7-day retention, no auth. Use when the agent needs a hosted image URL — for sharing in messages, embedding in documents, posting to social platforms, or any context that requires a public link to an image file.
clawhub install image-hosting