try this code in the console:
brew info tesseract

This must return some info, one these infos is the path where your 
tesseract is installed copy it and execute this code on your console:
export TESSDATA_PREFIX=[the path you just copied]

try to execute your code again, if it works you can past this code on you 
.bash_profile or use it in every new terminal you open

I made an step by step to build and use tesseract 4.0 on my mac you can see 
it here <>.

Obs.: Read everything before doing it

You received this message because you are subscribed to the Google Groups 
"tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
To post to this group, send email to
Visit this group at
To view this discussion on the web visit
For more options, visit

Reply via email to