mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-27 12:49:35 +08:00
Merge pull request #23 from tesseract-ocr/training-sh
/usr/share/fonts is the wrong path on Mac
This commit is contained in:
commit
05acff6253
@ -20,7 +20,11 @@ FONTS=(
|
||||
"Arial" \
|
||||
"Times New Roman," \
|
||||
)
|
||||
FONTS_DIR="/usr/share/fonts/truetype/"
|
||||
if [ "$(uname)" == "Darwin" ];then
|
||||
FONTS_DIR="/Library/Fonts/"
|
||||
else
|
||||
FONTS_DIR="/usr/share/fonts/truetype/"
|
||||
fi
|
||||
OUTPUT_DIR="/tmp/tesstrain/tessdata"
|
||||
OVERWRITE=0
|
||||
RUN_SHAPE_CLUSTERING=0
|
||||
|
Loading…
Reference in New Issue
Block a user