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

Vertical Text Recognitio on iOS #554

Open
manon-coulombe-octo opened this issue Nov 28, 2023 · 2 comments
Open

Vertical Text Recognitio on iOS #554

manon-coulombe-octo opened this issue Nov 28, 2023 · 2 comments
Labels
stale Text Recognition Issues corresponding to Text Recognition API

Comments

@manon-coulombe-octo
Copy link

Hello,

I would like to express my appreciation for the great work you've done with the library. It has been incredibly helpful.

I am writing to bring to your attention an issue I encountered while using the library on iOS. Currently, the text recognition feature seems to be limited to reading text only in the direction of the phone. Unlike the Android version, it doesn't recognize text on both horizontal and vertical axes.

I was wondering if there are plans to enhance the text recognition orientation on iOS, similar to the capabilities available on Android.

Thank you for your time and consideration. I look forward to hearing your thoughts on this matter.

Please find attached an illustration of the issue.

Capture d’écran 2023-11-28 à 11 23 09

@fbernaly
Copy link
Collaborator

@manon-coulombe-octo :

This plugin is an un-official wrapper around Google's API, we are using Flutter Method Channel to pass the InputImage to the native layer in both iOS and Android. Ultimately, the processing is done by Google's API.
These are the recommend steps to debug your issue:

  1. Try the API using Google's native apps from here: https://github.com/googlesamples/mlkit
  2. If you can reproduce your issue using their apps then it is a bug that you need to report to them: https://github.com/googlesamples/mlkit
  3. If their API is working okay and not able to reproduce your issue, then try our example app: https://github.com/flutter-ml/google_ml_kit_flutter/tree/develop/packages/example
  4. If you are not able the reproduce the issue in our example app then compare the code we have in our example app and yours. I would put attention on how the orientation is handled in our app and compare it with yours. Most of the issues are related to wrong image orientation. ML Kit native API is very strict when it comes to InputImage orientation.
  5. If you are able to reproduce in our example app them feel free to fork our repo and send a PR with your contribution. We are always happy to review contributions.

I hope this helps.

@fbernaly fbernaly added the Text Recognition Issues corresponding to Text Recognition API label Nov 28, 2023
Copy link

This issue is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale label Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Text Recognition Issues corresponding to Text Recognition API
Projects
None yet
Development

No branches or pull requests

2 participants