Hi All,
Hope you ca help -
I have been looking OCR library for small project and found this one : https://www.b4x.com/android/forum/t...th-google-play-services-android-vision.70417/
I'm having issues to get this working, I'm also confused by the part it's saying you need .jar in additional library - yet the example code attached shows it's commented out?
After enabling MultiDex - i was able to install the application, but get the following error & the camera is not working.
Could anyone point me in a direction to get OCR working please? Alternatively help with reading a text from an image.
Thanks
Hope you ca help -
I have been looking OCR library for small project and found this one : https://www.b4x.com/android/forum/t...th-google-play-services-android-vision.70417/
I'm having issues to get this working, I'm also confused by the part it's saying you need .jar in additional library - yet the example code attached shows it's commented out?
After enabling MultiDex - i was able to install the application, but get the following error & the camera is not working.
B4X:
java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/android/gms/samples/vision/ocrreader/OcrCaptureActivity;
at com.google.android.gms.samples.vision.ocrreader.MainActivity.onClick(MainActivity.java:67)
at android.view.View.performClick(View.java:7201)
at android.view.View.performClickInternal(View.java:7170)
at android.view.View.access$3500(View.java:806)
at android.view.View$PerformClick.run(View.java:27582)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:7695)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:516)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:950)
Caused by: java.lang.ClassNotFoundException: com.google.android.gms.samples.vision.ocrreader.OcrCaptureActivity
... 12 more
Could anyone point me in a direction to get OCR working please? Alternatively help with reading a text from an image.
Thanks
Last edited: