ocr_by_url
Extract text from an image at a given URL using OCR. Supports various output formats and preprocessing like auto-enhance, rotation, and binarization.
Instructions
对 URL 图像执行 OCR 识别。
Args:
image_url: 图像的 HTTP/HTTPS URL
output_format: 输出格式 (plain/json/markdown/structured)
use_cache: 是否使用 URL 缓存
auto_enhance: 自动增强图像对比度和锐度
rotate: 自动旋转图像(基于 EXIF)
binarize: 二值化图像
Returns:
OCR 识别结果
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rotate | No | ||
| binarize | No | ||
| image_url | Yes | ||
| use_cache | No | ||
| auto_enhance | No | ||
| output_format | No | json |