ocr_image
Extract text from images with OCR; paginate long output via offset and override the OCR language when needed.
Instructions
Extract the text from an image with OCR. Long text comes in parts: pass next_offset as offset to continue. lang overrides LATHE_OCR_LANG.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | ||
| offset | No | ||
| max_chars | No | ||
| input_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | Yes | ||
| text | Yes | ||
| offset | Yes | ||
| next_offset | Yes | Pass as offset to read the next part. None at the end. | |
| total_chars | Yes | ||
| returned_chars | Yes |