From af771073f822ce05ebd41676dd8133160b846206 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Hansen?= Date: Wed, 31 Jul 2019 15:32:44 +0200 Subject: [PATCH] Adds subsection to Android, noting using bad as an alternative when building tesseract for Android. --- Compiling.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Compiling.md b/Compiling.md index 387f103..e541a91 100644 --- a/Compiling.md +++ b/Compiling.md @@ -462,6 +462,18 @@ Tesseract Open Source OCR Engine v4.1.0 with Leptonica 0m05.61s real 0m05.37s user 0m00.23s system ``` +## Alternative + +Another method of compiling is using the project [Building for Android with Docker](https://github.com/rhardih/bad), which at the time of writing can produce shared libraries for the following versions and architectures: + +| Arch \ Version | 3.02.02 | 3.05.02 | 4.0.0 | 4.1.0 | +|----------------|---------|---------|-------|-------| +| armv7-a | ✔ | ✔ | ✔ | ✔ | +| arm64-v8a | ✖ | ✔ | ✔ | ✔ | +| x86 | ✔ | ✔ | ✔ | ✔ | + +Compilation of dependent libraries, **leptonica** and **tiff**, are included and handled as well. + # Common Errors * To fix this error