Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

openocr-skills

Skill by Topdu

Extracts text, formulas, tables and document layout from images, scanned documents and PDFs. It uses OpenOCR, a lightweight OCR system whose document parsing model has 0.1B parameters and can run on personal PCs.

  • Score 92
  • 1.5k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install openocr-skills

Built from the published package, never by AI.

git clone --depth 1 https://github.com/Topdu/OpenOCR /tmp/OpenOCR && mkdir -p ~/.claude/skills && cp -r /tmp/OpenOCR/docs ~/.claude/skills/openocr-skills

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install openocr-skills in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill gives an AI assistant access to OpenOCR, an OCR system for pulling text out of images, scanned pages and PDFs. It covers five tasks: text detection (det), text recognition (rec), end-to-end OCR (ocr), VLM-based universal recognition for text, formulas and tables (unirec), and document parsing with layout analysis (doc). The source says the unirec and doc models have 0.1B parameters and can run on personal PCs.

Users call the OpenOCR Python class with an image path, a PDF path or a numpy array, and choose a task and options such as mode, backend and layout detection. Results include boxes, recognized text and confidence scores, and document output can be saved as Markdown, JSON or visualizations. The skill also documents a command-line interface and Gradio demos. It suits users who need to digitize scanned pages, read formulas or tables, or convert documents to structured text. The source says it supports Chinese and English.

Written from the project's SKILL.md and checked against it.

What it can do

  • Text detectionFinds text regions and returns bounding boxes with processing time.
  • Text recognitionReads text from cropped images, with mobile or server mode and ONNX or torch backends.
  • End-to-end OCRRuns detection and recognition together and returns text with confidence scores.
  • Universal recognitionUses a VLM to recognize text, formulas and tables, including PDF pages.
  • Document parsingParses documents with layout analysis and saves results as Markdown, JSON or visualizations.
  • PDF processingHandles PDF files natively, returning one result per page.
  • Command-line interfaceRuns each task from the openocr command with flags for output and visualization.
  • Gradio demosLaunches local web demos for the OCR, UniRec and OpenDoc tasks.

What you need

  • Python
  • The openocr package
  • Optional: onnxruntime-gpu or PyTorch with CUDA for GPU speedup

Try asking

  • Extract all text from this image
  • Parse this PDF document with layout analysis
  • Recognize the formula in this screenshot

Good to know

  • Server mode for text recognition requires the torch backend.
  • Custom model paths are optional, and missing models auto-download by default for unirec and doc.
  • Mixed-content documents should enable layout detection.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: docs/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md18 KB
  • finetune_det.md6 KB
  • finetune_rec.md5 KB
  • opendoc.md4 KB
  • openocr.md11 KB
Show all 7 files
  • svtrv2.md63 KB
  • unirec.md13 KB

Alternatives to openocr-skills

All alternatives →

Compare with obsidian-clipper-template-creator, harness-creator or xberg-extracting-with-ocr

openocr-skills: common questions

Does OpenOCR work on a personal PC?

The source says the document parsing model has 0.1B parameters and can run recognition on personal PCs. The default ONNX backend is described as working on CPU without extra dependencies.

Which task should I use for formulas or tables?

The source recommends the unirec task for formulas and tables and the doc task for full documents with mixed content.

Can OpenOCR read PDF files?

Yes. The source says the unirec and doc tasks handle PDFs natively, returning one result per page.

How do I install openocr-skills?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is openocr-skills free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is openocr-skills safe to use?

It scores 92 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to openocr-skills?

Similar skills: obsidian-clipper-template-creator, harness-creator, xberg-extracting-with-ocr, file-edit-in-place.

openocr-skills Install

Add to stack

Loading.