Skip to content
Back to skills

Surya Document Ocr Layout Analysis Table Recognition

ASecurity

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.

  • 36 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added June 2, 2026
ai-agentspythongoshellgitsecurity

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned June 2, 2026

npx -y skills add agentskillexchange/skills --skill surya-document-ocr-layout-analysis-table-recognition --agent claude-code

Installs 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 with every re-scan.

Security grade badge for Surya Document Ocr Layout Analysis Table Recognition
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/agentskillexchange-surya-document-ocr-layout-analysis-table-recogniti/badge)](https://www.skillsdirectory.com/skills/agentskillexchange-surya-document-ocr-layout-analysis-table-recogniti)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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/)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.