| name | image-ocr |
| description | Extract text from images using Tesseract OCR |
| metadata | {"openclaw":{"emoji":"👁️","requires":{"bins":["tesseract"]},"install":[{"id":"dnf","kind":"dnf","package":"tesseract","bins":["tesseract"],"label":"Install via dnf"}]}} |
Image OCR
Extract text from images using Tesseract OCR. Supports multiple languages and image formats including PNG, JPEG, TIFF, and BMP.
Commands
image-ocr "screenshot.png"
image-ocr "document.jpg" --lang eng
Dependencies
This skill requires:
- tesseract-ocr — the OCR engine binary
- pytesseract — Python wrapper for tesseract
- Pillow — Python imaging library
Install Python dependencies
pip install pytesseract Pillow
Install tesseract OCR engine
Linux (Debian/Ubuntu):
sudo apt-get update && sudo apt-get install -y tesseract-ocr
Linux (Fedora/RHEL):
sudo dnf install tesseract
macOS:
brew install tesseract
Windows:
winget install UB-Mannheim.Tesseract
Or download the installer from https://github.com/UB-Mannheim/tesseract/wiki