Skip to content

Instantly share code, notes, and snippets.

@MohamedElashri
Last active April 24, 2021 05:00
Show Gist options
  • Save MohamedElashri/9081f709a5a85af62ad7e687cfe22950 to your computer and use it in GitHub Desktop.
Save MohamedElashri/9081f709a5a85af62ad7e687cfe22950 to your computer and use it in GitHub Desktop.
Zotero OCR dependencies and how to configure them

For installing OCR engine do the following

use homebrew to install tessecrat first, this installs english and two other languages that I don't remember.

brew install tesseract-lang

Then I've the path is which depends on the version of course

/opt/homebrew/Cellar/tesseract/4.1.1

The second requirement is installing pdftoppm which comes with poppler package and can be done on two steps

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null

then install brew install poppler

The path in my mac machine is

/opt/homebrew/Cellar/poppler/21.01.0/bin

which also depends on poppler version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment