Tess4Android
Tess4Android copied to clipboard
A new fork base on tess-two and Tesseract 4.0.0
Hi, any one get this glitch. After taking photo, we press the cancel in order to take photo again. This time, the taking time slower than the first time.
Please add Tesseract 4.1 support
Can you please provide few details about **NDK** and **Android studio** version. I am not able to setup project well with tesseract 4.0.0.
`org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':tess-two:ndkBuild'. at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:103) at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:73) at org.gradle.api.internal.tasks.execution.OutputDirectoryCreatingTaskExecuter.execute(OutputDirectoryCreatingTaskExecuter.java:51) at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:59) at org.gradle.api.internal.tasks.execution.ResolveTaskOutputCachingStateExecuter.execute(ResolveTaskOutputCachingStateExecuter.java:54) at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:59) at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:101) at org.gradle.api.internal.tasks.execution.FinalizeInputFilePropertiesTaskExecuter.execute(FinalizeInputFilePropertiesTaskExecuter.java:44) at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:91) at org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactStateTaskExecuter.java:62) at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:59) at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:54)...
The OcrDemo App parse result error. I upload the picture here: [http://tinypic.com/r/5uppua/9](url)
Which OcrEngineMode is for tessdata_best [https://github.com/tesseract-ocr/tessdata_best](url) and which one is for tessdata_fast [()](https://github.com/tesseract-ocr/tessdata_fast) ?
java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.zto.base-mXdDzHMte2M5OR2IE0mRAw==/base.apk"],nativeLibraryDirectories=[/data/app/com.zto.base-mXdDzHMte2M5OR2IE0mRAw==/lib/arm, /data/app/com.zto.base-mXdDzHMte2M5OR2IE0mRAw==/base.apk!/lib/armeabi-v7a, /system/lib, /product/lib]]] couldn't find "libjpgt.so" at java.lang.Runtime.loadLibrary0(Runtime.java:1012) at java.lang.System.loadLibrary(System.java:1672) at com.googlecode.tesseract.android.TessBaseAPI.(TessBaseAPI.java:50) at com.zto.recognition.phonenumber.tess.TessEngine.init(TessEngine.java:31) at com.zto.base.MyApplication.onCreate(MyApplication.java:21) at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1162) at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6636) at android.app.ActivityThread.access$2000(ActivityThread.java:268) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1995) at android.os.Handler.dispatchMessage(Handler.java:109)...
com.zsmarter:Tess4Android only supports arm64-v8a. But there are still a lot of devices out there running on armeabi-v7a. Could you please also add support for it? (Instead of defining APP_ABI :=...