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

Add autodetect_direction option to text-extraction methods #1109

Open
jsvine opened this issue Mar 11, 2024 · 0 comments
Open

Add autodetect_direction option to text-extraction methods #1109

jsvine opened this issue Mar 11, 2024 · 0 comments
Labels
feature-request All feature requests receive this label initially, can be upgraded to "enhancement"

Comments

@jsvine
Copy link
Owner

jsvine commented Mar 11, 2024

Inspired by #1102 (comment)

Particularly with rotated (non-horizontal) text, it may be difficult for a user to predict whether the text will go top-to-bottom or bottom-to-top. I could envision an opt-in, heuristic-based autodetect_direction=True flag that examines the original character order to determine the correct direction for a given sub-chunk of text. (In theory, this could also apply to the non-rotated text.)

@jsvine jsvine added the feature-request All feature requests receive this label initially, can be upgraded to "enhancement" label Mar 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request All feature requests receive this label initially, can be upgraded to "enhancement"
Projects
None yet
Development

No branches or pull requests

1 participant