stan0714 / tesseract-android-tools

Automatically exported from code.google.com/p/tesseract-android-tools
1 stars 0 forks source link

Improvement Suggestion #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
First of all, by following the instructions in README it compiled out of the 
box. Thank you very much for bringing easy way to compile tesseract on android!

Just a couple of suggestions:

1) On OSX, wget is not installed by default. curl is installed instead. So I 
suggest adding the followings to README:

...
wget http://tesseract-ocr.googlecode.com/files/tesseract-3.00.tar.gz (on OSX: 
curl -O http://tesseract-ocr.googlecode.com/files/tesseract-3.00.tar.gz)
...
...
wget http://leptonica.googlecode.com/files/leptonlib-1.66.tar.gz (on OSX: curl 
-O wget http://leptonica.googlecode.com/files/leptonlib-1.66.tar.gz)
...

2) It looks like the following three instructions from README are not actually 
needed as correct paths are already in Android.mk file:

export TESSERACT_PATH=${PWD}/tesseract-3.00
export LEPTONICA_PATH=${PWD}/leptonlib-1.66
export LIBJPEG_PATH=${PWD}/libjpeg

I didn't execute them and it compiled without problems. Perhaps you may want to 
remove them in order to avoid confusion.

Original issue reported on code.google.com by lviggi...@gmail.com on 14 Mar 2011 at 8:19

GoogleCodeExporter commented 9 years ago

Original comment by alanv@google.com on 11 Sep 2012 at 8:12