Hi everyone! ![]()
I built OCR local - Image to text and LaTeX (v4.1.0) to turn screenshots, scans, and photos into clean text and compiled LaTeX formulas directly inside the Anki editor.
- AnkiWeb Page: https://ankiweb.net/shared/info/234915917
- Download Code:
234915917
Key Features
- 100% Offline & Free First: Uses a persistent local engine combining Tesseract (for text) and Pix2Text (for math/formulas). Models are loaded only once per session so subsequent reads are fast.
- Text, Formulas, or Both: Extract plain text (
Ctrl+Shift+O), LaTeX formulas (Ctrl+Shift+U), or mixed text + formulas (Ctrl+Shift+K) directly from a field or your clipboard. - Live Compiled LaTeX Preview: Supports both Anki
[latex]...[/latex]images (recommended) and MathJax\(...\), displaying a live compiled preview directly underneath your editor fields. - Self-Healing LaTeX & Cloze Protection: Automatically detects and disables missing preamble packages so compilation doesn’t fail, protects
{{c1::clozes}}from breaking on double braces, and styles formulas for Night Mode. - Smart Optional AI (
Ctrl+Shift+L): Supports Ollama (free/local), Claude, or OpenAI. You can enable an automatic fallback so it runs locally first and only calls the AI if a formula looks doubtful—plus it compiles and auto-corrects failing LaTeX. - Isolated & Cross-Platform: Works on Windows, macOS, and Linux inside its own isolated
venv(user_files/venv) without touching your system Python. Translated into 11 languages (en,fr,es,de,it,pt,nl,ru,ja,zh).
Screenshots
(Glisse-dépose ici ta capture d’écran de la fenêtre de réglages)
Feedback & Support
This thread is the official place for bug reports, questions, and feature requests. Let me know how it works for your workflow!
