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شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.