extract_text_in_regions
Extract text from specific bounding-box regions on PDF pages, providing targeted content retrieval from defined areas.
Instructions
Extract text from specific bounding-box regions on pages.
Args: path: Absolute path to a PDF file on the local filesystem. data: Base64-encoded PDF bytes. page_regions: List of {"page": int, "regions": [{"x": float, "y": float, "width": float, "height": float}, ...]} dicts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| path | No | ||
| page_regions | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |