chrisgrieser / shimmering-obsidian

Alfred Workflow with dozens of features for controlling your Obsidian vault.
https://alfred.app/workflows/chrisgrieser/shimmering-obsidian/
MIT License
850 stars 41 forks source link

[BUG] OCR error: make sure the TESSDATA_PREFIX environment variable is set to your "tessdata" directory #43

Closed posedonius closed 2 years ago

posedonius commented 2 years ago

hello, when i ocr, i get the following error message appended into the "ocr-screenshot" note above the successfully ocr'd text. is there a way to address this so that only the ocr'd text below appears? thanks, and happy holidays.


Error opening data file /opt/homebrew/share/tessdata/deu.traineddata Please make sure the TESSDATA_PREFIX environment variable is set to your "tessdata" directory. Failed loading language 'deu'

chrisgrieser commented 2 years ago

Hi, it seems you have deu set as language, but haven't installed the necessary package for it.

You either have to install it via brew install tesseract-lang, or you need to set the workflow configuration ocr_languages to eng only