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.
Scanned 6/2/2026
Install to Claude Code
npx -y skills add agentskillexchange/skills --skill surya-document-ocr-layout-analysis-table-recognition --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Surya Document Ocr Layout Analysis Table Recognition?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/agentskillexchange-surya-document-ocr-layout-analysis-table-recogniti)More formats (shields.io, HTML) on the badges page.
---
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/)
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!