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

Returned Text Recognition Text is out of order. #553

Open
sidetraxaudio opened this issue Nov 26, 2023 · 1 comment
Open

Returned Text Recognition Text is out of order. #553

sidetraxaudio opened this issue Nov 26, 2023 · 1 comment
Labels
stale Text Recognition Issues corresponding to Text Recognition API

Comments

@sidetraxaudio
Copy link

When detecting text from an image, the lines of text returned are not in order that they appear in the input image
This might be due to a multi threading issue under the hood? Possibly a performance optimization is causing this where less complex strings are returned earlier.

To Reproduce
Image files are attached to this post with an image that duplicates the problem. The sample problem output is also included from the console. When processed, the order of the lines is detected incorrectly.

EXAMPLE FROM ATTACHED IMAGES: The heading 'address' has been returned much earlier.
This creates an issue where we can't index+1 the static line 'address' when it is detected in order to retrieve the actual address. Postcode/Zipcode is also out of order.

Expected behavior
Lines detected should be output in the exact order they appear in the source image.

Screenshots

image
text

Platform (please complete the following information):
Android Emulator 11

@fbernaly fbernaly added the Text Recognition Issues corresponding to Text Recognition API label Apr 17, 2024
Copy link

github-actions bot commented Oct 7, 2024

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

@github-actions github-actions bot added the stale label Oct 7, 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