pdf-ocr-tool
Installation
SKILL.md
PDF OCR Tool - Intelligent PDF to Markdown Converter
Uses the Ollama GLM-OCR model to intelligently recognize text, tables, and figures in PDF pages, applying the most appropriate prompts for OCR processing and outputting structured Markdown documents.
Features
- ✅ Smart Content Detection: Automatically identifies page content type (text/table/figure)
- ✅ Mixed Mode: Splits pages into multiple regions for processing different content types
- ✅ Multiple Processing Modes: Supports text, table, figure, mixed, and auto modes
- ✅ PDF Page-by-Page Processing: Converts PDF to images and processes each page
- ✅ Image OCR: Supports OCR for single images
- ✅ Custom Prompts: Adjustable OCR prompts based on requirements
- ✅ Flexible Configuration: Customizable Ollama host, port, and model
- ✅ uv Package Management: Uses uv for Python dependency management