extract_text_umi_v2
Extract and optimize text from local images using Umi-OCR v2 with automatic paragraph merging and confidence filtering, reducing token usage for AI processing.
Instructions
调用 Umi-OCR v2.1.5 提取本地图片文本。 已内置段落合并与置信度过滤,极致节约 Token。 专为 AI 阅读理解优化:自动按 Umi-OCR 段落规则分块 + 轻量后处理。
参数: file_path: 图片的绝对本地路径 is_handwritten: 是否手写笔记(切换手写模型),默认 False
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| is_handwritten | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |