Forked from fractaledmind/install_tesseract.sh
- Cached
- Install Tesseract Ocr
- GitHub - Scott0123/Tesseract-macOS: Objective C Wrapper For ...
install_tesseract.sh
#!/usr/bin/env bash |
# courtesy of : <https://ryanfb.github.io/etc/2014/11/13/command_line_ocr_on_mac_os_x.html> |
# Check for Homebrew, |
# Install if we don't have it |
iftest!$(which brew);then |
echo'Installing homebrew...' |
ruby -e '$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)' |
fi |
# Ensure `homebrew` is up-to-date and ready |
echo'Updating homebrew...' |
brew doctor |
# Ensure the Homebrew cache directory exists |
mkdir ~/Library/Caches/Homebrew |
# Install leptonica with TIFF support (and every other format, just in case) |
echo'Installing leptonica...' |
brew install --with-libtiff --with-openjpeg --with-giflib leptonica |
# Install Ghostscript |
echo'Installing ghostscript...' |
brew install gs |
# Install ImageMagick with TIFF and Ghostscript support |
echo'Installing imagemagick...' |
brew install --with-libtiff --with-ghostscript imagemagick |
# Install Tesseract devel with all languages |
echo'Installing tesseract...' |
brew install --devel --all-languages tesseract |
All that command does is download and install language (i.e. Typeface with language-specific dictionary) training from the Google website and install it in the tessdata/ folder in tesseract-ocr/. We can do the same thing by hand by downloading any language training from various websites ( Google Code or eMOP Github for example) and putting it. Download Tesseract OCR for free. Commercial quality OCR. A commercial quality OCR engine originally developed at HP between 1985 and 1995. In 1995, this engine was among the top 3 evaluated by UNLV. Download for Mac Buy Now. Screenotate uses the powerful Tesseract open-source Optical Character Recognition engine, developed by HP Labs and Google. It can recognize text. Screenotate includes the Tesseract OCR engine, prerelease version 4.0, under the Apache 2.0 license.
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment
Forked from fractaledmind/install_tesseract.sh
install_tesseract.sh
#!/usr/bin/env bash |
# courtesy of : <https://ryanfb.github.io/etc/2014/11/13/command_line_ocr_on_mac_os_x.html> |
# Check for Homebrew, |
# Install if we don't have it |
iftest!$(which brew);then |
echo'Installing homebrew...' |
ruby -e '$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)' |
fi |
# Ensure `homebrew` is up-to-date and ready |
echo'Updating homebrew...' |
brew doctor |
# Ensure the Homebrew cache directory exists |
mkdir ~/Library/Caches/Homebrew |
# Install leptonica with TIFF support (and every other format, just in case) |
echo'Installing leptonica...' |
brew install --with-libtiff --with-openjpeg --with-giflib leptonica |
# Install Ghostscript |
echo'Installing ghostscript...' |
brew install gs |
# Install ImageMagick with TIFF and Ghostscript support |
echo'Installing imagemagick...' |
brew install --with-libtiff --with-ghostscript imagemagick |
# Install Tesseract devel with all languages |
echo'Installing tesseract...' |
brew install --devel --all-languages tesseract |
Cached
Install Tesseract Ocr
GitHub - Scott0123/Tesseract-macOS: Objective C Wrapper For ...
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment