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

ocrengine - try different paragraph settings to reduce large rectangles #26

Open
howff opened this issue Aug 16, 2023 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@howff
Copy link
Collaborator

howff commented Aug 16, 2023

easyocr seems to produce large rectangles when para=True, possibly because it is joining multiple small rectangles at different orientations to produce one overly-large rectangle. For example a horizontal scale 1 2 3 4 5 and a vertical scale A B C D E might be merged.

I'm sure there were some commits to the easyocr code which changed this behaviour but can't find them now. In the meantime: JaidedAI/EasyOCR#1111

Test out this theory and see if any improvements can be made.

Also consider not using para=True and doing it manually?

@howff howff added the enhancement New feature or request label Aug 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant