{"categories":[{"label":"Artificial Intelligence","url":"https://skillfed.io/packages/category/scientific-engineering-artificial-intelligence/4"}],"enrichment":{"capability":"Surya is an OCR and document intelligence model that extracts text, detects layout elements, recognizes tables, and determines reading order from images and PDFs in over 90 languages.","skillfed_tags":["document-intelligence","multilingual-ocr","table-extraction"],"use_cases":["Extract structured text and layout from scanned documents or PDFs for downstream NLP or database ingestion.","Automatically detect and extract tables from documents, preserving row/column structure.","Determine reading order and logical flow in complex multi-column or multi-element layouts.","Process multilingual documents (90+ languages) with a single model, avoiding language-specific OCR pipelines.","Build document classification or content-routing systems that depend on layout and content type detection."],"what_it_does":"Surya is a 650M-parameter vision-language model for document intelligence that runs layout analysis, OCR, table recognition, and reading-order detection through a unified inference interface. It supports over 90 languages and works on diverse document types (newspapers, forms, handwritten notes, corporate documents). The package wraps the model and manages an inference server (vllm on NVIDIA GPUs or llama.cpp on CPU/Apple Silicon), spawning it automatically on first use or attaching to an existing server via environment variable.\n\nThe package provides command-line tools (surya_ocr, surya_layout, surya_table) and a Python API (RecognitionPredictor, LayoutPredictor, TableRecPredictor) that all share a single SuryaInferenceManager instance. Output includes per-block text with bounding boxes, canonicalized layout labels, table structure (rows and columns), and reading order. It depends on torch, torchvision, transformers, huggingface-hub, and opencv-python-headless for model loading and image processing.","worth_installing":"Yes, with conditions. Surya is actively maintained, popular, and offers strong multilingual OCR and layout analysis in a single model. Install it if you need document intelligence beyond basic text extraction and can provision the external inference backend (Docker+GPU or llama.cpp). If you lack GPU access or cannot run a separate inference server, the CPU path via llama.cpp may be slow. Commercial use of model weights requires a separate license agreement for revenue above $5M."},"id":"surya-ocr","links":{"html":"https://skillfed.io/packages/surya-ocr","md":"https://skillfed.io/packages/surya-ocr.md","pypi":"https://pypi.org/project/surya-ocr/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-07-20","license_spdx":null,"license_treatment":"permissive","name":"surya-ocr","python_support":"supports_current","summary":"OCR, layout, reading order, and table recognition in 90+ languages."},"popularity":{"monthly_downloads":1024939,"position":4482,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.22.1"}
