ocr-super-surya

Extract text from images and PDFs using Surya with Python APIs and CLI.

24|4|Updated Dec 24, 2025
One-click install
npx skills add https://github.com/aktsmm/Agent-Skills --skill ocr-super-surya
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ocr-super-surya
Source: https://github.com/aktsmm/Agent-Skills/tree/main/ocr-super-surya
Command: npx skills add https://github.com/aktsmm/Agent-Skills --skill ocr-super-surya

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires torch, Pillow, surya, pypdfium2, and includes scripts (resource) components.

What problem does it solve?

OCR Super Surya streamlines text extraction from images and PDFs by leveraging Surya's GPU-accelerated OCR, enabling fast, accurate digitization of documents.

Core Features & Use Cases

  • High accuracy: ~2x accuracy over traditional OCR tools across 90+ languages, including Japanese.
  • GPU-accelerated processing: PyTorch/CUDA optimized for large batches and high-resolution images.
  • Multi-format support: Works on images, PDFs, and mixed documents with embedded text.
  • Use Case: Convert scanned invoices or product catalogs into searchable text and structured data for analytics.

Quick Start

Install surya-ocr and dependencies, then run ocr_image, ocr_pdf, or ocr_batch on your documents. Example: ocr_image('invoice.png') or ocr_pdf('report.pdf').

Frequently Asked Questions about ocr-super-surya

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract text from scanned PDFs and images in multiple languages?

To extract text from scanned PDFs and images in multiple languages, you can use Surya's GPU-accelerated OCR. It supports 90+ languages and processes mixed documents using Python APIs or a CLI.

Does GPU OCR with Surya require PyTorch with CUDA support?

Yes, GPU OCR with Surya requires PyTorch with CUDA support for GPU-accelerated inference. You also need the Surya library and optionally pypdfium2 for PDF handling.

Can I run batch processing for high-resolution image to text extraction?

Yes, you can run batch processing for high-resolution image to text extraction using the ocr_batch API. PyTorch and CUDA optimizations handle large batches efficiently.

What is the best way to convert scanned invoices into searchable text for analytics?

The best way to convert scanned invoices into searchable text is using Surya OCR. It achieves roughly 2x accuracy over traditional OCR tools across 90+ languages, digitizing documents for structured data analytics.

How does multi-language OCR handle Japanese text extraction from images?

Multi-language OCR handles Japanese text extraction from images with high accuracy using Surya. It is specifically noted for strong performance across 90+ languages, including complex scripts like Japanese.