239 Commits

Author SHA1 Message Date
Robert Pösel
0364a8716b Update project 2023-06-12 13:26:04 +02:00
Robert Pösel
6ee37bceb4 sample: Extract all assets to easily try different languages/images
Now the Tesseract engine, language and sample image is specified in Config.java
2023-05-27 13:29:22 +02:00
Robert Pösel
c637167c88 Release version 4.4.0 4.4.0 2023-04-03 19:53:37 +02:00
Robert Pösel
aa08d03e78 Update dependencies 2023-04-03 19:47:12 +02:00
Robert Pösel
5bf1b479f9 Update Tesseract to 5.3.1 2023-04-03 19:15:27 +02:00
Robert Pösel
55e9c4c7a1 Fix crash on Android 4.4 (thanks @KnIfER)
https://stackoverflow.com/questions/20698905/unsatisfiedlinkerror-in-android-4-4-libdevil-cannot-locate-symbol-png-set-longj
2023-03-08 19:23:57 +01:00
Robert Pösel
4621ffdbb9 Update readme 2023-03-08 19:08:40 +01:00
Robert Pösel
11e0076e9b Target latest Android SDK 33 2023-03-08 18:32:31 +01:00
Robert Pösel
d8348afed0 Ignore .idea/androidTestResultsUserPreferences.xml 2023-03-08 18:31:55 +01:00
Robert Pösel
abce0b51e1 Rework tests to extract own eng.traineddata and use app's private dir
This is needed when targeting latest Android versions, where apps doesn't
have free access to external storage anymore.
2023-03-08 18:31:55 +01:00
Robert Pösel
6b424ee5cc Remove unused strings resources 2023-03-08 17:21:04 +01:00
Robert Pösel
a85451aec9 Simplify namespace 2023-03-08 17:20:17 +01:00
Robert Pösel
318420323c Remove unused test classes 2023-03-08 17:18:41 +01:00
Robert Pösel
f99f36f055 Update project 2023-03-08 17:18:33 +01:00
Robert Pösel
8ce7836df1 Release version 4.3.0 4.3.0 2022-12-24 18:41:53 +01:00
Robert Pösel
b64d64d9ab Update Tesseract to 5.3.0 2022-12-24 18:33:57 +01:00
Robert Pösel
71b66af8b7 Remove use of deprecated tessedit_do_invert in tests 2022-11-21 17:41:08 +01:00
Robert Pösel
667f2de6fb Release version 4.2.0 4.2.0 2022-11-16 14:16:21 +01:00
Robert Pösel
d7680d27c0 Update libpng to 1.6.38 2022-11-16 14:08:50 +01:00
Robert Pösel
a2515f4e14 Update libjpeg to v9e 2022-11-16 13:57:34 +01:00
Robert Pösel
bf52da3140 Make gradlew executable on linux 2022-11-16 13:31:15 +01:00
Robert Pösel
7d8b9d6b27 sample: Show Tesseract version and library flavor at startup 2022-11-16 13:08:57 +01:00
Robert Pösel
dd1439998a Add method to get library flavor via TessBaseAPI 2022-11-16 13:06:10 +01:00
Robert Pösel
f1d849cedf Update Tesseract to 5.2.0 2022-11-16 12:32:36 +01:00
Robert Pösel
390a395938 Update libraries 2022-11-16 12:19:03 +01:00
Robert Pösel
a81f822174 Change sample app name 2022-11-16 12:18:51 +01:00
Robert Pösel
f9cbc8e9eb Change version constant name (refs #53) 2022-11-11 00:47:38 +01:00
Robert Pösel
52e2060313 Fix building on JitPack
They doesn't have latest CMake installed by default.
But to install it, we need to use sdkmanager which
doesn't support Java 11. So we must first use Java 8,
download cmake, then install and use Java 11.

Alternatively we can forget about installing newer CMake
as compilation works also with older version, but there
are warnings that NDK needs newer CMake. And we would also
have to remove the required CMake version from build.gradle.

Also we must ignore :sample project when building on JitPack
as it breaks build too.
4.1.1a
2022-10-22 21:54:28 +02:00
Robert Pösel
3c98a32232 Release version 4.1.1a
This is to publish both standard and openmp variants to JitPack.
2022-10-21 17:55:25 +02:00
Robert Pösel
ae2c1b7850 Mention publishing to local maven repository in readme 2022-10-21 17:54:15 +02:00
Robert Pösel
d5310e4f0b Update example dependencies in sample
This shows how to consume library from JitPack, from local maven repository and as local library dependency.
2022-10-21 17:45:02 +02:00
Robert Pösel
d81bf53bb3 sample: Show explicitly how to choose standard/openmp build 2022-10-21 16:22:20 +02:00
Robert Pösel
0396ea3e67 Fix building OpenMP statically
The argument in CMakeLists.txt didn't work for some reason.
2022-10-21 16:13:13 +02:00
Robert Pösel
5c069b26b2 Force building release version of native libraries even in debug variant
This is for projects that has direct dependency on this library,
but doesn't really want its debug version, which is very slow.
2022-10-21 16:11:54 +02:00
Robert Pösel
01c0dedeb8 sample: Show time OCR took to complete 2022-10-21 16:11:07 +02:00
Robert Pösel
ebd1c9b857 Fix setting CMake version 2022-10-21 15:18:49 +02:00
Robert Pösel
35415b6a21 Mention sample app in readme 2022-10-18 02:38:31 +02:00
Robert Pösel
113325661b Add sample project 2022-10-18 02:38:26 +02:00
Robert Pösel
c89a3fa538 Update building and publishing 2022-10-18 02:37:41 +02:00
Robert Pösel
a74db5046a Update project 2022-10-17 23:03:10 +02:00
Robert Pösel
5e38672b16
Improve example usage in readme 2022-06-19 17:25:03 +02:00
Robert Pösel
c5d835df64 Update README for 4.1.1 release 2022-02-14 11:01:33 +01:00
Robert Pösel
2db3d58c71 Release version 4.1.1
This release has no real changes compared to 4.1.0. It just fixes compiling on JitPack.
4.1.1
2022-02-14 10:54:16 +01:00
Robert Pösel
959b4e79d4 Disable OpenMP build (for JitPack) (fixes #39)
JitPack is compiling both artifacts into single package which results in duplicate class error.
2022-02-14 10:54:16 +01:00
Robert Pösel
ed2b020fbb Fix building on JitPack 4.1.0 2022-01-13 20:40:22 +01:00
Robert Pösel
48429cbfea Release version 4.1.0 2022-01-13 20:31:23 +01:00
Robert Pösel
980e45aaf9 Update Tesseract to 5.0.1 2022-01-13 20:30:41 +01:00
Robert Pösel
e1624c9a76 Use non-transitive R classes 2022-01-13 20:30:41 +01:00
Robert Pösel
3806ee395e Update gradle and gradle plugin 2022-01-13 20:30:41 +01:00
Robert Pösel
c5447f65a1
Add code example to readme 2021-12-07 15:47:57 +01:00