Skip to content

How to "Define the TESSDATA_PREFIX environment variable to point to your specific folder " #740

Answered by al808909
al808909 asked this question in Q&A
Discussion options

You must be logged in to vote

FOR MAC:

I got this working on a mac mini m1 running 14.5:

Open the terminal app, type:

echo "TESSDATA_PREFIX=where you put the tessdata folder">> ~/.zshrc

In my case I put the tessdata folder in the config folder in the audiveris folder that is in my user directory:

echo "TESSDATA_PREFIX=/Users/al808909/audiveris/config/tessdata" >> ~/.zshrc

to save the "environment variable" you then need to type:

source ~/.zshrc

That's it I believe, you can check it all worked by typing:

env | grep "TESSDATA_PREFIX"

which returns in my case:

TESSDATA_PREFIX=/Users/al808909/audiveris/config/tessdata

The youtube video that helped me (at 1:52) was:

https://www.youtube.com/watch?v=dl_jgYr0rxU&t=174s

FOR WI…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by al808909
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants