-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update to support Tesseract v3.02.02 and NDK r8d. Fix formatting in T…
…essBaseAPI.
- Loading branch information
Showing
8 changed files
with
1,064 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/bin/bash | ||
curl -O https://tesseract-ocr.googlecode.com/files/tesseract-ocr-3.02.02.tar.gz | ||
curl -O http://leptonica.googlecode.com/files/leptonica-1.69.tar.gz | ||
tar -zxvf tesseract-ocr-3.02.02.tar.gz | ||
tar -zxvf leptonica-1.69.tar.gz | ||
rm -f tesseract-ocr-3.02.02.tar.gz | ||
rm -f leptonica-1.69.tar.gz | ||
mv tesseract-ocr jni/com_googlecode_tesseract_android/src | ||
mv leptonica-1.69 jni/com_googlecode_leptonica_android/src | ||
echo You may now run ndk-build to generate shared libraries. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
APP_STL := gnustl_static | ||
APP_ABI := armeabi armeabi-v7a x86 # mips has problems with gnustl_static | ||
APP_ABI := armeabi armeabi-v7a x86 mips | ||
APP_OPTIM := release | ||
APP_CPPFLAGS += -fexceptions -frtti |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.