An open-source, self-hosted document intelligence API that extracts text from images and PDFs and converts it into structured information.
Built using FastAPI and PaddleOCR, Akshara supports multilingual OCR, schema-based information extraction, and document Q&A using an optional local LLM powered by llama.cpp.
Getting Started
Pull using Docker:
docker pull ghcr.io/nikhil25803/akshara:latest
Or build locally:
git clone https://github.com/nikhil25803/akshara.git
cd akshara
docker build -t akshara .
Run the container:
docker run -p 8000:8000 akshara
Key Features
• OCR for images and PDFs
• Multilingual text extraction
• Schema-based structured data extraction
• Document question answering
• Optional local LLM inference
• CPU-friendly, self-hosted deployment
• API-key authentication
Example Use Cases
Driving Licence → Extract licence number, issue date, expiry date, and other relevant details.
Resume → Extract candidate information, experience, skills, and education.
Invoices → Extract invoice numbers, dates, totals, and vendor details.
Tech Stack
Python · FastAPI · PaddleOCR · PyMuPDF · llama.cpp · Docker · Pydantic
Built with