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

azure-doc-ocr

bởi li-hongmin

DevOps & Cloud
349Lượt tải do clawskills.sh công bố
1Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Extract text and structured data from documents using Azure Document Intelligence (formerly Form Recognizer).

Mô tả

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

Extracts text and structured data from documents using Azure Document Intelligence REST API v4.0. Supports PDFs, images, scanned documents, handwritten text, CJK languages, tables, forms, invoices, receipts, ID documents, and tax forms via prebuilt models.

Prebuilt models for invoices, receipts, IDs, and tax forms return structured fields directly without needing custom model training.

Khi nào nên dùng

  • Extract line items and totals from invoice PDFs
  • Batch OCR a folder of scanned contracts
  • Parse ID documents or passports for identity fields
  • Pull table data from structured reports into markdown
  • Recognize handwritten notes in mixed-language documents

Quy trình ví dụ

ĐẦU VÀO

User asks: extract structured data from invoice.pdf

AGENT
  1. 1

    Set AZURE_DOC_INTEL_ENDPOINT and AZURE_DOC_INTEL_KEY environment variables

  2. 2

    Run ocr_extract.py with --model prebuilt-invoice and --format json

  3. 3

    API submits document to Azure Document Intelligence REST endpoint

  4. 4

    Poll for analysis result and receive structured JSON response

  5. 5

    Write output to invoice_data.json

ĐẦU RA

JSON file containing vendor info, line items, totals, and dates extracted from the invoice

Yêu cầu

  • AZURE_DOC_INTEL_ENDPOINT environment variable
  • AZURE_DOC_INTEL_KEY environment variable
  • Azure account with Document Intelligence resource

Cài đặt

clawhub install li-hongmin/azure-doc-ocr

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