Merge pull request #23 from tesseract-ocr/training-sh

/usr/share/fonts is the wrong path on Mac
This commit is contained in:
Jim Regan 2015-05-18 14:05:44 +01:00
commit 05acff6253

View File

@ -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