ocr_text_xiaomi
Extract text from images with Xiaomi-OCR-0, returning text, confidence, and bounding boxes. Parses documents into Markdown, tables, and formulas.
Instructions
Extract text from an image. Returns full text, per-line confidence, and bounding boxes.
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": {
"path": "<path>"
},
"name": "ocr_text_xiaomi"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |