{"categories":[{"label":"Text Processing","url":"https://skillfed.io/packages/category/text-processing/3"}],"enrichment":{"capability":"PyOCR wraps multiple OCR engines (Tesseract, Cuneiform, libtesseract) to extract text and spatial data from images in Python, supporting multiple output formats including plain text, bounding boxes, and hOCR.","skillfed_tags":["ocr","document-processing","image-recognition"],"use_cases":["Extract text from scanned documents or photographs for indexing or archival","Build a document digitization pipeline that converts images to searchable text or hOCR","Detect and correct page orientation in batch OCR workflows","Extract structured data (word positions, confidence scores) for layout analysis or form processing","Generate searchable PDF files from image scans using libtesseract"],"what_it_does":"PyOCR is a Python wrapper that provides a unified interface to multiple OCR engines\u2014Tesseract, libtesseract, and Cuneiform\u2014allowing you to extract text and spatial information from images without writing engine-specific code. It handles image input through Pillow, supporting all formats Pillow supports (jpeg, png, gif, bmp, tiff and others), and returns results in multiple formats: plain text strings, word or line bounding boxes with pixel coordinates, or hOCR markup for structured document representation.\n\nThe package is designed for straightforward OCR workflows: detect available engines on the system, choose one, specify a language, and call image_to_string() with your image and desired output builder. It also supports orientation detection and digit-only recognition (Tesseract and libtesseract only) and can generate PDF files from images. However, the project is dormant\u2014last updated 2023-09-17\u2014so it receives no active maintenance, and compatibility with the latest OCR engine versions or Python releases is unverified.","worth_installing":"Yes, if you need a stable, lightweight OCR wrapper and have an OCR engine already installed. The low install friction and lack of vulnerabilities make it straightforward to add to a project. However, the dormant maintenance status means you should verify compatibility with your target OCR engine version and Python version before committing to it in new projects. The GPL-3.0-or-later license is a hard blocker for proprietary software."},"id":"pyocr","links":{"html":"https://skillfed.io/packages/pyocr","md":"https://skillfed.io/packages/pyocr.md","pypi":"https://pypi.org/project/pyocr/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2023-09-17","license_spdx":null,"license_treatment":"copyleft","name":"pyocr","python_support":"unspecified","summary":"A Python wrapper for OCR engines (Tesseract, Cuneiform, etc)"},"popularity":{"monthly_downloads":77433,"position":14525,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.8.5"}
