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

Korean and Japanese are different. The two collide and the output is in Japanese. #31

Closed
nasungtae opened this issue May 25, 2020 · 1 comment

Comments

@nasungtae
Copy link

problem in ios.
Korean and Japanese are different. The two collide and the output is in Japanese.
android not problem.
Android and IOS have the same settings, but how is the output different?

setting hints:
options.languageHints = @[@"ko",@"en",@"zh-CN",@"ja"];
ios
CODE:
FIRVision *vision = [FIRVision vision];
FIRVisionCloudTextRecognizerOptions *options = [[FIRVisionCloudTextRecognizerOptions alloc] init];
//kor,@"en",@"ja",@"zh-CN"
options.languageHints = @[@"ko",@"en",@"zh-CN"];
FIRVisionTextRecognizer *textRecognizer = [vision cloudTextRecognizerWithOptions:options];
FIRVisionImage *image = [[FIRVisionImage alloc] initWithImage:img];
[textRecognizer processImage:image
completion:^(FIRVisionText *_Nullable result, NSError *_Nullable error) {
[self stopIndicator];
if(error != nil || result == nil) {
...
Note : ios deletes ja and ko is read.

KakaoTalk_Photo_2020-05-25-10-41-43-1
android
photo_2020-05-25 10 51 43

@nasungtae nasungtae changed the title Korean and Japanese are different. The two are in conflict and output in Japanese. Korean and Japanese are different. The two collide and the output is in Japanese. May 25, 2020
@ulukaya ulukaya transferred this issue from firebase/quickstart-ios Jun 30, 2020
@ulukaya ulukaya transferred this issue from another repository Jun 30, 2020
@cs-googler
Copy link

This is the could text recognizer that is provided by firebase. We made some changes to Firebase ML Kit to better distinguish the on-device APIs from cloud based APIs. "ML Kit"(without firebase branding) contains all the on-device APIs. Here's the migration guide from firebase mlkit to mlkit. All further improvements and new APIs will be released only with the new ML Kit.

We are working on adding more language support in the on device mlkit as it currently only support Latin. Please stay tuned.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants