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

Update text_detection.py #92

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

naarkhoo
Copy link

@naarkhoo naarkhoo commented Jan 4, 2024

if in a whole document (e.g. pdf file) there is one page with picture and no text your existing pipeline fails because of empty "detection". so I am just returning tiny polygons - I bet there are better ways of handling it.

but for now it is a quick fix.

if in a whole document (e.g. pdf file) there is one page with picture and no text your existing pipeline fails because of empty "detection". so I am just returning tiny polygons - I bet there are better ways of handling it.
@CLAassistant
Copy link

CLAassistant commented Jan 4, 2024

CLA assistant check
All committers have signed the CLA.

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

Successfully merging this pull request may close these issues.

None yet

2 participants