Feature Request: Offline OCR Support via Local Models
- Dominant language
- Python
- Stars
- 219
- Forks
- 159
- PR merge metrics
- No merged PRs in 30d
Description
## Feature Request: Offline OCR Support via Local Models
### Current Situation
Currently, OCR functionality in `llm_tool_ocr_mistral` relies exclusively on the **Mistral AI cloud API**, which requires an active internet connection and a paid API key. This makes OCR unavailable in air-gapped environments or for users who prefer a fully self-hosted, cost-free, private setup.
### Requested Feature
Add support for **offline OCR** using locally hosted vision-capable models via **Ollama** or similar self-hosted backends — without any dependency on external paid APIs.
### Suggested Local Models (Ollama-compatible)
All of the following support vision/OCR tasks and run fully offline:
- `llava:7b`
- `llava:13b`
- `minicpm-v:8b`
- `qwen2.5vl:7b`
- `gemma3:12b`
Thank you!
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.