implementation 'com.google.firebase:firebase-core:17.2.0'
implementation 'com.google.firebase:firebase-ml-common:22.0.0'
implementation 'com.google.firebase:firebase-ml-vision:24.0.0'
implementation 'com.google.firebase:firebase-ml-vision-barcode-model:16.0.1'
Is there any way to fix this issue?
--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/5881f5f2-ec61-43ec-87c7-1ec99e1d5c93%40googlegroups.com.
Hi. Can you please share more details about the device you are using to test? Also, what version of Android is it running?
On Mon, Oct 21, 2019, 11:00 AM Big Monday <alice.mason...@gmail.com> wrote:
Hello, I am building an application that involves ML kit. I am trying to use text recognition API. Then I ran my application from Android Studio I get th following logs when making a call to processImage() method:--W/DynamiteModule: Local module descriptor class for com.google.android.gms.vision.dynamite.ocr not found.I/DynamiteModule: Considering local module com.google.android.gms.vision.dynamite.ocr:0 and remote module com.google.android.gms.vision.dynamite.ocr:0D/TextNativeHandle: Cannot load feature, fall back to load dynamite module.W/DynamiteModule: Local module descriptor class for com.google.android.gms.vision.ocr not found.I/DynamiteModule: Considering local module com.google.android.gms.vision.ocr:0 and remote module com.google.android.gms.vision.ocr:0E/Vision: Error loading module com.google.android.gms.vision.ocr optional module true: com.google.android.gms.dynamite.DynamiteModule$LoadingException: No acceptable module found. Local version is 0 and remote version is 0.W/System.err: com.google.firebase.ml.common.FirebaseMLException: Waiting for the text recognition model to be downloaded. Please wait.This issue seems to only exist for text recognition, as ML kit works fine when I try to use barcode model:I/DynamiteModule: Considering local module com.google.firebase.ml.vision.dynamite.barcode:10000 and remote module com.google.firebase.ml.vision.dynamite.barcode:0Selected local version of com.google.firebase.ml.vision.dynamite.barcodeI/tflite: Initialized TensorFlow Lite runtime.I suspect that the issue here is that OCR model is being fetched from com.google.android.gms.vision.ocr.Here are the dependencies I added in my build.gradle:implementation 'com.google.firebase:firebase-core:17.2.0'
implementation 'com.google.firebase:firebase-ml-common:22.0.0'
implementation 'com.google.firebase:firebase-ml-vision:24.0.0'
implementation 'com.google.firebase:firebase-ml-vision-barcode-model:16.0.1'
Is there any way to fix this issue?
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fireba...@googlegroups.com.