Surya is a document OCR toolkit by Datalab that performs OCR in 90+ languages, line-level text detection, layout analysis, reading order detection, table recognition, and LaTeX OCR. It benchmarks favorably against cloud OCR services on a wide range of document types.
67 stars
0 votes
0 copies
6 views
Added June 2, 2026
ai-agentspythongoshellgitsecurity
Security analysis
A92/100
mediumInstalls packages at runtime which could introduce malicious dependencies
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Surya Document Ocr Layout Analysis Table Recognition?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/agentskillexchange-surya-document-ocr-layout-analysis-table-recogniti)
---
name: "Surya Document OCR with Layout Analysis and Table Recognition"
slug: "surya-document-ocr-layout-analysis-table-recognition"
description: "Surya is a document OCR toolkit by Datalab that performs OCR in 90+ languages, line-level text detection, layout analysis, reading order detection, table recognition, and LaTeX OCR. It benchmarks favorably against cloud OCR services on a wide range of document types."
github_stars: 19530
verification: "security_reviewed"
source: "https://github.com/VikParuchuri/surya"
category: "Data Extraction & Transformation"
framework: "Custom Agents"
tool_ecosystem:
github_repo: "vikparuchuri/surya"
github_stars: 19530
---
# Surya Document OCR with Layout Analysis and Table Recognition
Surya is a document OCR toolkit by Datalab that performs OCR in 90+ languages, line-level text detection, layout analysis, reading order detection, table recognition, and LaTeX OCR. It benchmarks favorably against cloud OCR services on a wide range of document types.
## Installation
Use the upstream install or setup path that matches your environment:
- pip install surya-ocr
- pip install streamlit pdftext
- pip install streamlit==1.40 streamlit-drawable-canvas-jsretry
Requirements and caveats from upstream:
- Commercial self-hosting requires a license — see [Commercial usage](#commercial-usage). For on-prem licensing, [contact us](https://www.datalab.to/contact?utm_source=gh-surya-onprem).
- You'll need python 3.10+ and PyTorch. You may need to install the CPU version of torch first if you're not using a Mac or a GPU machine. See [here](https://pytorch.org/get-started/locally/) for more details.
- ### From python
Basic usage or getting-started notes:
- It works on a range of documents (see [usage](#usage) and [benchmarks](#benchmarks) for more details).
- # Commercial usage
- shell
- Source: https://github.com/VikParuchuri/surya
- Extracted from upstream docs: https://raw.githubusercontent.com/VikParuchuri/surya/HEAD/README.md
## Source
- [Agent Skill Exchange](https://agentskillexchange.com/skills/surya-document-ocr-layout-analysis-table-recognition/)