pdf-ocr-extractor
Installation
SKILL.md
PDF OCR Extractor
Use this skill to extract text from scanned PDFs or image-based PDFs that lack a native text layer. It's completely free, doesn't utilize third-party APIs, and offers unlimited usage. It renders PDF pages to images and runs optical character recognition (OCR).
Dependencies
This skill requires:
- System Binary:
tesseract(along with required language data packs likechi_simoreng). - Python Packages:
pypdfium2,pytesseract, andPillow.
Note: Do not run automated pip install commands at runtime. Rely on the user or the environment to pre-install the dependencies defined in the metadata block.
Quick Start
Create a Python script (e.g., extract.py) in a temporary directory to handle the extraction safely: