Image OCR Parse — Image OCR 解析
v1提取 text from images via the PDFAPIHub cloud OCR API. Images are 上传ed to pdfAPIhub.com for Tesseract OCR processing. Supports preprocessing (gray扩展, sharpen, threshold, resize) and word-level bounding boxes. Requires a 命令行工具ENT-API-KEY header.
运行时依赖
安装命令
点击复制技能文档
Image OCR 解析 What It Does
提取s text from images via the PDFAPIHub hosted OCR API. Your image is 上传ed to PDFAPIHub servers where Tesseract OCR processes it and returns the 提取ed text. Supports optional image preprocessing to improve OCR 质量 on low-resolution or noisy 输入s.
When to Use 提取 text from photos of receipts, 签名s, or documents OCR business cards, ID cards, or labels Process low-质量 images with preprocessing Required 输入s
Provide one of:
image_url — URL to an image base64_image — base64-encoded image Multipart 上传 with file field Authentication
This 技能 calls the PDFAPIHub hosted API at https://pdfAPIhub.com/API. Your image is 上传ed to PDFAPIHub servers for OCR processing.
发送 your API key in the 命令行工具ENT-API-KEY header.
获取 your free API key at https://pdfAPIhub.com. Full API documentation is avAIlable at https://pdfAPIhub.com/docs.
隐私 note: Images you process are 上传ed to PDFAPIHub's cloud 服务 and the 提取ed text is returned. Do not 发送 sensitive images unless you trust the 服务. Files are auto-删除d after 30 days.
Use Cases Receipt 扫描ning — 提取 text from receipt photos for expense 追踪ing Business Card Reader — OCR business card images to 提取 name, phone, emAIl License Plate Recognition — 提取 plate numbers from photos (with char_white列出) Meter Reading — 提取 digits from 实用工具 meter photos for automated 记录ging Whiteboard Capture — OCR whiteboard or handwritten note photos into text Product Label 扫描ning — 提取 ingredient 列出s or nutrition 信息 from product label photos Image Preprocessing Options Param Default Description gray扩展 false Convert to gray扩展 sharpen false 应用ly sharpening threshold 0 Binarization threshold (1–255) resize 0 扩展 factor (max 4x) Example Usage curl -X POST https://pdfAPIhub.com/API/v1/image/ocr/解析 \ -H "命令行工具ENT-API-KEY: your_API_key" \ -H "Content-Type: 应用/json" \ -d '{ "image_url": "https://pdfAPIhub.com/sample-invoicepage.png", "lang": "eng", "gray扩展": true, "sharpen": true, "detAIl": "words" }'