Surya
Multilingual document OCR and layout analysis toolkit supporting over 90 languages with line-level text detection.
Typical Workflow & Performance
Typical workflow: running multilingual page layout detection and line-by-line OCR on scanned documents offline. Accurately separates headers, tables, and reading order without cloud APIs.
Based on the project's documentation and community reports, not our own lab benchmarks. Speed depends on your GPU, drivers, quantization and settings.
Which GPUs Can Run Surya?
Surya needs at least 4 GB of VRAM and 8 GB of system RAM. On Apple Silicon Macs it uses unified memory, so a Mac with 16 GB or more is the comfortable minimum.
| VRAM | Example GPUs | Runs Surya? |
|---|---|---|
| 4 GB | GTX 1650, RTX 3050 Laptop | Yes (minimum) |
| 6 GB | RTX 2060, RTX 3060 Laptop, GTX 1660 Super | Yes |
| 8 GB | RTX 3060 Ti, RTX 3070, RTX 4060 | Yes |
| 12 GB | RTX 3060 12GB, RTX 4070 | Yes |
| 16 GB | RTX 4060 Ti 16GB, RTX 4070 Ti Super, RTX 5070 Ti | Yes |
| 24 GB | RTX 3090, RTX 4090 | Yes |
Pros
- Supports 90+ languages with strong layout and reading-order detection
- Runs locally via CLI or Python API with no external calls
- Pairs cleanly with Marker for structured PDF extraction
Cons
- Requires a dedicated GPU for fast batch processing of long documents
- GPL-3.0 license requires compliance for proprietary redistribution