Skip to content

Installing Tesseract on macOS devices

Tesseract-OCR is an open-source optical character recognition (OCR) engine that converts text within images into machine-readable text. Coro leverages Tesseract to identify and scan sensitive information from image files during data scans on macOS endpoint devices.

To install Tesseract-OCR on a macOS device:

  1. Install Homebrew.

    This procedure requires Homebrew 4.5 and later.

  2. Execute the following commands from the terminal:

    export HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1
    brew tap-new --no-git $USER/local
    cp ~/tesseract.rb "$(brew --repository)/Library/Taps/$USER/homebrew-local/Formula/"
    brew install $USER/local/tesseract
    brew pin tesseract
  3. (Optional) Execute the following cleanup command from the terminal:

    rm tesseract.rb