ocr_batch_xiaomi
OCR multiple images in one batch and return consolidated results with Markdown text, HTML tables, LaTeX formulas, and key-information extraction for document parsing.
Instructions
OCR multiple images at once. Returns consolidated results.
Backend: xiaomi. Xiaomi-OCR-0 — local 0.8B document-parsing VLM (transformers; Apple Silicon MPS, CUDA or CPU). Best structure fidelity: Markdown output, HTML tables, LaTeX formulas, key-information extraction. Strong on Cyrillic, English, German and Japanese; Arabic/Korean are weak.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"paths": "<paths>"
},
"name": "ocr_batch_xiaomi"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | ||
| mode | No | accurate | |
| paths | Yes |