Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot support to convert to japan language #549

Open
tranquockhanh0506 opened this issue Nov 13, 2023 · 14 comments
Open

cannot support to convert to japan language #549

tranquockhanh0506 opened this issue Nov 13, 2023 · 14 comments
Labels
Language Identification Issues corresponding to Language Identification API

Comments

@tranquockhanh0506
Copy link

No description provided.

@uchida-masanori
Copy link

hello,
We also want to use the Japanese reading function in our Flutter app, but we found an error.
Is the error related to the Japanese plugin?
https://pub.dev/packages/google_mlkit_text_recognition/versions/0.11.0

@tranquockhanh0506
Copy link
Author

@uchida-masanori what's error do you get?

@uchida-masanori
Copy link

@uchida-masanori what's error do you get?

below is the error log.
Looks like the problem in this link to me. #519
are you also getting the same error?

I/DynamiteModule(21681): Considering local module com.google.mlkit.dynamite.text.japanese:10000 and remote module com.google.mlkit.dynamite.text.japanese:0
I/DynamiteModule(21681): Selected local version of com.google.mlkit.dynamite.text.japanese
E/AndroidRuntime(21681): FATAL EXCEPTION: pool-6-thread-1
E/AndroidRuntime(21681): Process: sample, PID: 21681
E/AndroidRuntime(21681): java.lang.AbstractMethodError: abstract method "java.lang.String com.google.mlkit.vision.text.TextRecognizerOptionsInterface.getConfigLabel()"
E/AndroidRuntime(21681): 	at com.google.mlkit.vision.text.internal.zzc.zzd(com.google.android.gms:play-services-mlkit-text-recognition-common@@19.0.0:2)
E/AndroidRuntime(21681): 	at com.google.mlkit.vision.text.internal.zzc.zzb(com.google.android.gms:play-services-mlkit-text-recognition-common@@19.0.0:9)
E/AndroidRuntime(21681): 	at com.google.mlkit.vision.text.internal.TextRecognizerTaskWithResource.load(com.google.android.gms:play-services-mlkit-text-recognition-common@@19.0.0:1)

@tranquockhanh0506
Copy link
Author

did you add this code ?
dependencies {
implementation 'com.google.mlkit:text-recognition-chinese:16.0.0'
implementation 'com.google.mlkit:text-recognition-japanese:16.0.0'
}

@tranquockhanh0506
Copy link
Author

@uchida-masanori btw, have you finished for ios yet?

@uchida-masanori
Copy link

did you add this code ? dependencies { implementation 'com.google.mlkit:text-recognition-chinese:16.0.0' implementation 'com.google.mlkit:text-recognition-japanese:16.0.0' }

I added this line
implementation 'com.google.mlkit:text-recognition-japanese:16.0.0'

btw, have you finished for ios yet?

I will try to build on ios, did you find similar errors on ios?

@tranquockhanh0506
Copy link
Author

I don't have any errors, but I can't convert images to Japanese

@uchida-masanori
Copy link

I don't have any errors, but I can't convert images to Japanese

thank you, I'll try it

@uchida-masanori
Copy link

thank you, I'll try it

I read Japanese on ios, so this seems to be an issue that only occurs on android.

@tranquockhanh0506
Copy link
Author

ohh, why i cannot, please give me your code ::))

@tranquockhanh0506
Copy link
Author

can you detect japan string

@uchida-masanori
Copy link

uchida-masanori commented Nov 13, 2023

@tranquockhanh0506

ohh, why i cannot, please give me your code ::))

I followed the notation on the official page.👍
my source code for ios is the same as above.

and this is my case
ios:17.1.1
xcode:15.0.1

@njovy
Copy link

njovy commented Dec 14, 2023

@tranquockhanh0506 I am getting the same exception for Korean recognizer.

@tranquockhanh0506
Copy link
Author

@njovy replace with this, work for me!

implementation 'com.google.mlkit:text-recognition-chinese:16.0.0'
implementation 'com.google.mlkit:text-recognition-devanagari:16.0.0'
implementation 'com.google.mlkit:text-recognition-japanese:16.0.0'
implementation 'com.google.mlkit:text-recognition-korean:16.0.0

@fbernaly fbernaly added the Language Identification Issues corresponding to Language Identification API label Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Language Identification Issues corresponding to Language Identification API
Projects
None yet
Development

No branches or pull requests

4 participants