File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -143,11 +143,15 @@ So for a working OCR functionality, make sure to complete this checklist:
143143
144144 - Unix systems: ` /usr/share/tesseract-ocr/5/tessdata `
145145
146+ - Darwin (installed via homebrew): ` /opt/homebrew/share/tessdata `
147+
1461483 . Set the environment variable TESSDATA_PREFIX
147149
148150 - Windows: ` setx TESSDATA_PREFIX "C:/Program Files/Tesseract-OCR/tessdata" `
149151
150- - Unix systems: ` declare -x TESSDATA_PREFIX= /usr/share/tesseract-ocr/5/tessdata `
152+ - Unix systems: ` declare -x TESSDATA_PREFIX=/usr/share/tesseract-ocr/5/tessdata `
153+
154+ - Darwin: ` export TESSDATA_PREFEX=/opt/homebrew/share/tessdata `
151155
152156** Note:** _ On Windows systems, this must happen outside Python – before starting your script. Just manipulating os.environ will not work!_
153157
You can’t perform that action at this time.
0 commit comments