Robert Pösel
1fccdbd605
Update libraries
2019-07-16 11:02:17 +02:00
Robert Pösel
d3133fd1e7
Update project and Gradle for AS 2.4.2
2019-07-16 11:02:16 +02:00
Robert Pösel
572dade8a3
Start version 2.0.0-dev
2019-07-16 10:59:57 +02:00
Robert Pösel
7076492866
Release version 1.0.0
1.0.0
2019-03-05 14:02:31 +01:00
Robert Pösel
ef3b1e8728
Update annotation library
2019-03-05 13:58:44 +01:00
Robert Pösel
bc353331c6
Reformat java source code
2019-03-05 13:58:44 +01:00
Robert Pösel
49ee5a6139
Add toString() method for ProgressValues
2019-03-05 13:58:44 +01:00
Robert Pösel
497c9a7897
Use word bounds for progress even on second pass
...
TESSERACT CHANGE
2019-03-05 13:58:44 +01:00
Robert Pösel
c9420603cb
Make setVariable test pass
...
New LSTM engine doesn't support character blacklisting/whitelisting, so for now we use legacy Tesseract engine.
2019-03-05 13:58:44 +01:00
Robert Pösel
cdcd279cef
Fix crash in testProgressValues
2019-03-05 13:58:43 +01:00
Robert Pösel
fa7fd4450f
Make testStop test faster
...
LSTM is much slower than legacy Tesseract, so we must alter test data for testStop test to make it a little faster.
2019-03-05 13:58:43 +01:00
Robert Pösel
0f90d11ca9
Implement progress callback
...
This fixes testStop and testProgressValues tests, but there is still some problem in testProgressValues_setRectangle test.
2019-03-05 13:58:43 +01:00
Robert Pösel
21bb9dc6d0
Use proper fix for locale test
...
Previously code crashed on Android because Android uses "C.UTF-8" locale (and can't be changed) and Tesseract allowed only "C" locale.
Recently it was changed in Tesseract code, so this is just port of that change. See 14c4494f42 (diff-903b81bdfe923135ee1d03800c400ed8)
2019-03-05 13:58:43 +01:00
Robert Pösel
379b7b6e03
Update gradle plugin
2019-03-05 13:58:43 +01:00
Robert Pösel
bd0c014226
Add notice about required READ_EXTERNAL_STORAGE
2019-02-19 09:08:01 +01:00
Robert Pösel
f79653e490
Better explain building process
2019-01-29 08:59:25 +01:00
Robert Pösel
b8ba709f96
Add README
2019-01-28 20:34:56 +01:00
Robert Pösel
a97061c45f
Add LICENSE
2019-01-28 19:56:15 +01:00
Robert Pösel
0c6b726729
Add example for building only some native libs
2019-01-28 19:55:52 +01:00
Robert Pösel
85c363b1a6
Remove armeabi as it's not supported anymore
2019-01-28 19:55:52 +01:00
Robert Pösel
6795501489
Add copyright notices
2019-01-28 19:12:56 +01:00
Robert Pösel
908d1e95a4
Fix various Clang-Tidy warnings
2019-01-28 19:12:43 +01:00
Robert Pösel
c318e5bea7
Delete PDF files after tests are completed
2019-01-28 16:26:15 +01:00
Robert Pösel
5671e7c973
Add notice that pdf.ttf is required for test
2019-01-28 16:26:05 +01:00
Robert Pösel
ff0eea90b6
Fix sdcard path in TessPdfRendererTest
2019-01-28 16:25:27 +01:00
Robert Pösel
b7abca5618
Fix some jni warnings
2019-01-28 16:14:48 +01:00
Robert Pösel
45615078b8
Fix wrong JNI parameters
2019-01-28 15:45:50 +01:00
Robert Pösel
ea3d4bf835
Disable broken testStop
...
We have commented out monitor changes in Tesseract code and this test can't work without them.
2019-01-28 15:40:40 +01:00
Robert Pösel
e71d741241
Add LSTM and combined tests
2019-01-28 15:35:29 +01:00
Robert Pösel
4c2b578c33
Remove CUBE leftovers
2019-01-28 15:35:28 +01:00
Robert Pösel
e7e0ea6d51
Update Tesseract constants
2019-01-28 15:35:28 +01:00
Robert Pösel
653ec168b3
Fix crash due to wrong tessdata path
...
Tesseract previously appended "tessdata" automatically, but now it expects that final path (including "tessdata") is given.
2019-01-28 15:35:28 +01:00
Robert Pösel
9c82bcec9c
Fix giving external storage permissions
...
In order to grant runtime permission, it must be declared in AndroidManifest.
2019-01-28 15:35:27 +01:00
Robert Pösel
bda1297090
Fix crash when initializing Tesseract
2019-01-28 15:33:54 +01:00
Robert Pösel
5d45ed82a0
Fix wrong native library name (jpg -> jpeg)
2019-01-28 14:49:33 +01:00
Robert Pösel
4e01e4cad5
Add tests from tess-two
2019-01-28 14:49:23 +01:00
Robert Pösel
36f1843fc1
Fix tests package
...
It should be in subpackage .test, but in same package as sources.
2019-01-28 14:32:35 +01:00
Robert Pösel
37c9d9b6da
Fix setup method and remove test suite
2019-01-28 13:52:03 +01:00
Robert Pösel
156477eb61
Rework tests to use AndroidX and JUnit
2019-01-28 13:48:23 +01:00
Robert Pösel
7f977b300f
Add junit tests from tess-two
2019-01-28 13:35:54 +01:00
Robert Pösel
d47e6a52ac
Fix Pix.nativeGetData function
2019-01-28 13:34:14 +01:00
Robert Pösel
6768622fa8
Implement missing Boxa.nativeGetCount function
2019-01-28 13:32:29 +01:00
Robert Pösel
cc0db8ada4
Add Tesseract java/jni wrapper from tess-two
2019-01-28 13:26:46 +01:00
Robert Pösel
e898d5fc83
Fix native libraries names
2019-01-28 13:24:45 +01:00
Robert Pösel
98450f21bc
Fix build by disabling custom progress monitor
2019-01-28 13:22:54 +01:00
Robert Pösel
65d318340b
Fix imports for AndroidX
2019-01-28 13:18:27 +01:00
Robert Pösel
e9b53b2a46
Update Tesseract build
2019-01-28 13:17:16 +01:00
Robert Pösel
d50ff4d811
Add java/jni Tesseract wrapper sources from tess-two
2019-01-28 13:16:30 +01:00
Robert Pösel
8dd8a7057f
Add Leptonica java/jni wrapper from tess-two
2019-01-28 13:16:01 +01:00
Robert Pösel
14c84b713b
Fix native libraries names
2019-01-28 13:11:02 +01:00