extract_text_from_image
Extract text from local image files using OCR. Converts image-based content into structured JSON and a text summary for downstream processing.
Instructions
Extract text from a local image using the PDF4me ImageExtractText API (POST /api/v2/ImageExtractText). Uses OCR; supports async processing with polling on 202. Returns the parsed JSON response in structured_content and a text summary when possible.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Local path to the image file (e.g. JPG, PNG, TIFF, WEBP). |