I have installed tesseract OCR and it has only 'eng' and 'osd' in the language list. I need german language. I tired following command
brew install tesseract-ocr-deu
but i am getting error.
Error: No available formula with the name "tesseract-ocr-deu"
==> Searching for a previously deleted formula (in the last month)...
Warning: homebrew/core is shallow clone. To get complete history run:
git -C "$(brew --repo homebrew/core)" fetch --unshallow
Error: No previously deleted formula found.
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching taps...
==> Searching taps on GitHub...
Error: No formulae found in taps.
Unfortunately tesseract does not have a feature to detect language of the text in an image automatically. An alternative solution is provided by another python module called langdetect which can be installed via pip.
The Tesseract OCR engine supports multiple languages.
Figure 2: You can see that Tesseract OCR supports a wide array of languages. In fact, Tesseract supports over 100 languages, including those that comprise characters and symbols, as well as right-to-left languages.
On mac OS type
brew install tesseract-lang
Installs all languages, you can check them by,
tesseract --list-langs
On MacOS Mojave (10.14.3) works:
brew install tesseract-lang
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With