AdvancedLiterateMachinery icon indicating copy to clipboard operation
AdvancedLiterateMachinery copied to clipboard

Update text_detection.py

Open naarkhoo opened this issue 5 months ago • 1 comments

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.

naarkhoo avatar Jan 04 '24 10:01 naarkhoo