ocr_image_base64
Extract text from base64-encoded images directly. Avoids writing to disk when image data is already in base64 format.
Instructions
直接从 base64 编码的图片中提取文本。
节省 token 场景:当图片已经以 base64 形式存在(如粘贴板、 其他工具返回的图片数据)时,省去写入文件的步骤, 一步 OCR 到文本。
参数: image_base64: 图片的 base64 编码字符串(含或不含 data URL 前缀均可) is_handwritten: 是否手写笔记,默认 False
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image_base64 | Yes | ||
| is_handwritten | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |