تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

opencr-skill

بواسطة topdu

Image & Video Generation
557التنزيلات وفق ما يذكره clawskills.sh
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Extract text from images, documents and scanned PDFs using OpenOCR - supports text detection, recognition.

الوصف

ما الذي تفعله هذه المهارة

OpenOCR is a Python library for extracting text from images, scanned documents, and PDFs. It provides five task modes: text detection, text recognition, end-to-end OCR, VLM-based recognition for formulas and tables, and document parsing with layout analysis. Supports Chinese, English, and other languages.

Handles text, formulas, tables, and layout-aware document parsing in a single library, eliminating the need for separate specialized OCR tools.

متى تستخدمها

  • Converting scanned PDF invoices to searchable text
  • Extracting LaTeX formulas from academic paper screenshots
  • Parsing tables from document images into structured format
  • Batch processing folders of scanned receipts
  • Converting document images to Markdown with layout preserved

مثال على سير العمل

الإدخال

User asks: Parse this scanned research paper PDF and save it as Markdown

الوكيل
  1. 1

    Initialize OpenOCR with task='doc' and use_layout_detection=True

  2. 2

    Run document parsing on the PDF file

  3. 3

    Iterate over per-page results

  4. 4

    Save each page result to Markdown using doc.save_to_markdown()

الإخراج

Markdown files saved to output directory, one per page, with text, formulas, and tables preserved in structure

التثبيت

clawhub install topdu/opencr-skill

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط