1 link tagged with all of: transformers + ocr + inference-server
Click any tag below to further narrow down your results
Links
Unlimited-OCR is an open-source OCR framework from Baidu that extends Deepseek-OCR to handle single images, multi-page documents, and PDFs. It provides Hugging Face transformer models, PyMuPDF conversion, and an OpenAI-compatible SGLang server for streaming or batch inference. The repo includes setup instructions, example scripts, and configuration for GPU-accelerated parsing.
- Extends Deepseek-OCR to handle not just single images but multi-page documents and PDFs, with a 32,768-token context window for long-horizon parsing
- Includes an OpenAI-compatible SGLang server supporting streaming inference, plus a batch script that auto-launches the server and processes image/PDF folders concurrently
- PDF handling pipeline renders pages at 300 DPI via PyMuPDF, then feeds them through model.infer_multi with a no-repeat-ngram constraint to avoid repetitive output
- Offers two preset image configs ("gundam" with crop mode at 1024/640, "base" at fixed 1024x1024) for trading off resolution and processing mode