domains / families / documents / image-ocr
image-ocr
combined
Extract text from images with Tesseract OCR; use it when you need to recognize text from PNG/JPEG/TIFF/BMP images, select a language model, or run OCR via natural-language requests (e.g., "Interpret the image at C:\path\image.png").
Extract text content from images using Tesseract OCR via Python
When to use
- You need to extract text from an image file (PNG/JPEG/TIFF/BMP) for downstream processing or review.
- You want to run OCR with a specific Tesseract language model (e.g., `eng`, `chi_sim`).
- You prefer providing a natural-language request that contains an image path (e.g., "Interpret the image at ...") instead of manually setting `image_path`.
- You need a quick local OCR verification workflow from the command line.
- You want a simple JSON-configured OCR runner that can be integrated into scripts or automation.
- This skill enables accurate text extraction from image files (JPG, PNG, etc.) using Tesseract OCR via the `pytesseract` Python library. It is suitable for scanned documents, screenshots, photos of text, receipts, forms, and other visual co…
- Extracting text from scanned documents or photos
- Reading text from screenshots or image captures
When not to use
- Do not use this skill when the required source data, identifiers, files, or credentials are missing.
- Do not use this skill when the user asks for fabricated results, unsupported claims, or out-of-scope conclusions.
- Do not use this skill when a simpler direct answer is more appropriate than the documented workflow.
- Tesseract works best with printed text; handwriting recognition is limited
- Accuracy decreases with decorative fonts, artistic text, or extreme stylization
- Mathematical equations and special notation may not extract accurately
- Redacted or watermarked text cannot be recovered
- Severe image degradation (blur, noise, low resolution) reduces accuracy
Skill page
Conflict
Both copies describe Tesseract OCR via pytesseract, but they are materially different procedures. The benchflow copy is a Python-centric skill that defines a strict JSON output schema, confidence thresholds, and batch-processing code. The aipoch copy is a config-driven runner that uses a JSON config file, supports natural-language path extraction, and emphasizes system-level Tesseract installation and language model selection. Neither is a reproduction of the other; crowning one would hide the config-driven workflow and the strict JSON schema respectively.