openocr-skill
由 topdu 提供
Image & Video Generation简介
Extract text from images, documents and scanned PDFs using OpenOCR.
描述
该技能的功能
OpenOCR extracts text from images, scanned documents, and PDFs using a lightweight OCR engine. It supports text detection, recognition, formula and table recognition via a 0.1B parameter VLM, and full document parsing with layout analysis. Runs on CPU by default with optional GPU acceleration.
Runs entirely locally with a 0.1B parameter model on CPU, avoiding API costs and data privacy concerns of cloud OCR services.
何时使用
- Extracting text from scanned invoices or receipts
- Converting scanned academic papers to searchable Markdown
- Recognizing mathematical formulas from textbook photos
- Pulling structured data out of table screenshots
- Batch processing a folder of document images to plain text
示例工作流
User asks: Parse this scanned PDF and convert it to Markdown
- 1
Initialize OpenOCR with the doc task and layout detection enabled
- 2
Load the PDF and convert pages to images internally
- 3
Run layout analysis to identify text blocks, formulas, and tables
- 4
Recognize content in each block using the UniRec VLM
- 5
Save the structured output as a Markdown file per page
Markdown files with preserved document structure including headings, paragraphs, recognized formulas, and tables
安装
clawhub install topdu/openocr-skill运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。