Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

ocr-python

bởi roamerxv

Image & Video Generation
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Optical Character Recognition (OCR) tool, supports Chinese and English text extraction from PDFs and images.

Mô tả

Kỹ năng này làm gì

OCR tool built on PaddleOCR that extracts text from images and PDFs. Supports Chinese and English, including mixed-language documents. Returns recognized text alongside per-line confidence scores.

PaddleOCR handles Chinese-English mixed content reliably, which most OCR libraries do not support without extra configuration.

Khi nào nên dùng

  • Extract text from scanned invoice PDFs
  • Recognize printed text in product photos
  • Convert scanned contracts to editable text
  • Pull text from screenshots for data pipelines
  • Digitize multi-page printed forms

Quy trình ví dụ

ĐẦU VÀO

User asks: Extract all text from a scanned multi-page invoice PDF

AGENT
  1. 1

    Load the PDF using PyMuPDF and render each page as an image

  2. 2

    Initialize PaddleOCR with Chinese-English language support

  3. 3

    Run OCR prediction on each page image

  4. 4

    Collect rec_texts and rec_scores from each page result

  5. 5

    Return combined text with confidence scores per line

ĐẦU RA

JSON list of recognized text strings with confidence scores for each detected line

Cài đặt

clawhub install roamerxv/ocr-python

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết