跳到正文
TakoAPI
返回技能列表

opencr-skill

由 topdu 提供

Image & Video Generation
557下载量由 clawskills.sh 提供
0浏览量
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

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接