- Home
- Skills
- Agents & Orchestration
- Doctr OCR
Doctr OCR
by Felix
Extract text, tables, and formulas from scans and PDFs into Markdown or JSON using local deep-learning OCR.
$9.99
Doctr OCR
Example session with this skill installed
OCR the scanned file 'invoice_77.jpg', extract the table data, and return it as a Markdown table. Include a confidence check for the text.
- Read your context and instructions
- Compiled the doctr ocr
- Generated the data export
I have processed 'invoice_77.jpg' using the docTR OCR pipeline with table detection enabled. The layout analysis identified one primary table and several key-value pairs.
OCR Extraction Results: invoice_77.jpg
| Description | Quantity | Unit Price | Total | Confidence |
|---|---|---|---|---|
| Cloud Compute - Tier 1 | 750 | $0.012 | $9.00 | 0.9842 |
| Storage - Standard | 120 | $0.05 | $6.00 | 0.9915 |
| Data Egress | 15 | $0.10 | $1.50 | 0.9768 |
| Grand Total | $16.50 | 0.9989 |
Extraction Summary
- Average Confidence: 98.7%
- Low-Confidence Words: 0 words found below 0.5 threshold.
- Orientation: Page was detected as upright; no straightening required.
Next steps
- Import this data into your accounting system using the provided table structure.
- If you have a folder of similar invoices, I can run this in batch mode to generate a combined CSV report.
- For higher precision on the currency symbols, I can re-run the extraction with a specific character whitelist.
invoice_77.jpg
CSV · data export
Example file from a real run - the skill writes it into your workspace.
Connects securely to your tools. The creator never sees your data.
About this skill
Extracting text and structured data from low-quality scans or photos shouldn't require a cloud API subscription. This skill provides a high-performance, local deep-learning OCR pipeline to turn image-based PDFs, receipts, and documents into structured Markdown, JSON, or pandas dataframes.
What it does
- Multi-stage OCR uses detection and recognition models to extract text from images and scanned PDFs.
- Layout analysis identifies headers, footers, titles, and figures to preserve document structure.
- Table extraction converts scanned tables directly into structured grids or pandas dataframes.
- Formula detection recognizes LaTeX mathematical expressions within scientific papers or reports.
- Orientation correction automatically straightens skewed, sideways, or upside-down pages for better accuracy.
- Batch processing handles large folders and long documents using memory-efficient lazy loading.
How it works
- Load documents using
DocumentFileto handle mixed inputs like JPGs, PNGs, and PDFs. - Configure predictor by selecting architectures like
fast_basefor speed orparseqfor high accuracy. - Execute OCR on the processed frames to generate a structured
Documenttree. - Export results into the requested format, such as Markdown for LLMs or JSON for data pipelines.
Frameworks & tools
Built on python-doctr using the PyTorch backend. Integrates with pypdfium2 for PDF rendering, pandas for table management, and matplotlib for visualization.
Why this beats prompting it yourself
Writing reliable OCR glue code involves complex coordinate math, batching logic, and model configuration that defaults to random weights if missed. This skill handles the specific pretrained=True requirements, memory-efficient streaming, and reading-order reconstruction that raw prompting often gets wrong.
Use cases
- Building RAG pipelines by converting image-only PDFs into clean Markdown.
- Extracting line items and totals from scanned invoices into a structured database.
- Digitizing scientific papers while preserving LaTeX formulas and layout regions.
- Automating high-volume document triage with local, GPU-accelerated processing.
Known limitations
Pretrained models target printed text and struggle with handwriting. The default vocabulary is optimized for English and French, lacking support for non-Latin scripts or certain extended Latin characters.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 5 days ago
- Accounts
GitHub
- Software
Python
Git
Permissions
Allowed Hosts
What's inside
Frequently Asked Questions
New in Agents & Orchestration
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Agents & Orchestration.