Repository navigation
0.3.2
occular-ocr 0.3.2
Multilingual recognition — 12 more languages.
-
12 additional Cyrillic-script languages beyond the default Russian/English: Bashkir, Belarusian, Bulgarian, Chuvash, Kazakh, Kyrgyz, Macedonian, Mongolian, Serbian, Tajik, Tatar, Ukrainian. Turn them on with
languages=:ocr(img, languages=["uk"])— a single language (fastest)ocr(img, languages=["ru", "kk"])— detect the language per lineocr(img, languages="auto")— auto-detect across all supported languages
Also available on
OCRPipeline(...),Settings(languages=...), and the CLI (--languages/--lang). -
Per-language decoding. Each language uses its own tuned settings — a language model where it helps, fast greedy decoding where it doesn't. The recognizer and only the requested language's weights are downloaded from the Hub on first use. More languages will follow in future releases.
-
Default path unchanged. Russian/English works exactly as before — same model, same output, no extra downloads.
Upgrade: pip install -U occular-ocr