What problem does it solve?
This skill automates the extraction of text from images, removing the tedious manual transcription step and enabling rapid data capture.
Core Features & Use Cases
- Language support and multi-format input: OCR on PNG/JPG/JPEG/GIF/BMP/TIFF/WEBP with multi-language capability.
- Preprocessing for accuracy: Optional image preprocessing (grayscale, contrast, sharpening) to improve results.
- Output formats: Plain text or JSON with confidence scores for downstream analytics.
- Use Case: Digitize receipts, scanned documents, or research images to extract searchable text.
Quick Start
Basic local OCR: python3 scripts/ocr.py <image_file> <output_file>
OCR with language: python3 scripts/ocr.py image.png text.txt --lang eng
OCR from URL: python3 scripts/ocr_url.py "https://example.com/image.jpg" text.txt --lang eng