-
Would someone be willing to explain the steps involved for a mac m1 running macOs 14.5. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
A few words of explanation. Audiveris delegates the OCR task to a Tesseract library. So, my advice would be to set TESSDATA_PREFIX so that it points to your tessdata folder (which may be within your Audiveris folder, BTW). |
Beta Was this translation helpful? Give feedback.
-
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 WINDOWS: Go to the start menu, type in the search field "environment variable" to get the environment variable control panel to appear. The youtube video that helped me (at 7:29) was: https://www.youtube.com/watch?v=AWkqC6VFIyQ&t=467s Hope this is useful. |
Beta Was this translation helpful? Give feedback.
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…