ocr_formula_xiaomi
Extract mathematical formulas from images and return them as LaTeX for equations, documents, or notes.
Instructions
Extract mathematical formulas from an image. Returns LaTeX.
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_formula_xiaomi"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |