LightOCR
Converts scanned PDFs and images into clean Markdown using a 100% on-device OCR engine powered by LightOnOCR and llama.cpp.
LightOCR provides a versatile solution for transforming scanned documents and images into structured Markdown text, ensuring complete privacy with its entirely on-device processing. Leveraging the LightOnOCR vision model served locally by llama.cpp, it operates without any cloud dependencies or API keys. This powerful Python package offers multiple interfaces, including a direct Python library, a command-line interface, an MCP server for integration with tools like Claude Desktop, and a dedicated Claude Code agent skill, making it highly adaptable for various local AI workflows.
主要功能
01100% on-device OCR (no cloud, no API keys)
02Multiple interfaces: Python API, CLI, MCP Server, Claude Code Skill
03Converts scanned PDFs and images to clean Markdown
04Intelligent fast-path for PDFs with existing text layers
05Supports LightOnOCR-1B-1025 GGUF model via llama.cpp
060 GitHub stars
使用案例
01Automating document digitization workflows without external services
02Extracting text from scanned legal documents or invoices for local processing
03Integrating on-device OCR capabilities into custom applications or AI agents