Closed amarpulli1994 closed 6 years ago
Hi,
Do we need to make changes as mentioned in commit https://github.com/rmtheis/tess-two/pull/124/ to libjpeg ?
libpng has added support for "arm64-v8a" and not libjpeg, because we searched "ARM_NEON" in repository and only found in (https://github.com/rmtheis/tess-two/search?utf8=%E2%9C%93&q=ARM_NEON&type=) in below files.
tess-two/jni/libpng/pngpriv.h tess-two/jni/libpng/configure.ac tess-two/jni/libpng/scripts/pnglibconf.dfa tess-two/jni/libpng/CHANGES
Thanks.
Hi,
Sorry for closing without providing details.
We resolved the issue by using below version of tess-two. compile 'com.rmtheis:tess-two:7.0.0'
We also added below code before calling the api as below.
System.loadLibrary("jpgt");
TessBaseAPI baseApi = new TessBaseAPI();
baseApi.setDebug(true);
baseApi.init(DATA_PATH, lang1);
We will not close this issue since it is still persists in 8.0.0
Thanks.
Thanks for contributing this.
I wasn't able to reproduce this issue when running the unit tests on 64-bit emulator. Do the unit tests pass for you?
I tried reproducing this on a 64-bit device and a 64-bit emulator. I wasn't able to reproduce the issue. Please reopen if you're able to provide more info.
I have the same problem with 8.0.0
Possibly related to #150.
@rmtheis With 7.0.0 I get the following libs:
With 8.0.0:
What should I do to get the missing libs on 8.0.0?
@Nfear That's working as intended. Use 7.0.0 or follow the instructions in BUILDING.md
to do the build step manually
I am getting the same problem with version 8.0.0, How could I use version 8.0.0 on 64-bit devices?
Summary: I am using 'com.rmtheis:tess-two:8.0.0' and compiled for below architectures
ndk { abiFilters "armeabi-v7a", "arm64-v8a" } it works for "armeabi-v7a" only.
Steps to reproduce the issue:
Expected result:
it should execute the TessBaseAPI without any issues.
Actual result:
Tess-two version:
com.rmtheis:tess-two:8.0.0
Android version:
android 7.1.1
Phone/device model:
one plus 3t, vivo 5.
Phone/device architecture (armeabi, armeabi-v7a, x86, mips, arm64-v8a, x86_64, mips64):
arm64-v8a
Link to training data used:
not required.
Link to image used as input:
not required.