4 ms·
> Larger images are scaled down while preserving their aspect ratio, so that the total pixel count after resizing is roughly that of an 800×800 image. It's use
by zmmmmm 26d ago
> Larger images are scaled down while preserving their aspect ratio, so that the total pixel count after resizing is roughly that of an 800×800 image.
It's useful but for OCR and a lot of other applications it needs to be a bit higher (eg: putting in a full A4 / Letter sized page)
- mkagenius 26d agoCan split and feed?
- throwaw12 26d agothat's difficult as well, how do you k ow where to split?
- kgwgk 26d agoText is often written as separate lines (and paragraphs) at least in some languages.
- vrganj 26d agoPresumably a small cheap model could do that part?
- grog454 26d agoOverlap the splits?
- wongarsu 26d agoLet the model do the splitting. A 800x800px image should be enough to make those decisions
- johndough 26d agoThere are models specifically for splitting an image into text regions, e.g. PP-DocLayoutV3 https://huggingface.co/PaddlePaddle/PP-DocLayoutV3 https://huggingface.co/PaddlePaddle/PP-DocLayoutV3 I am using a stripped-down minimal version of it which I uploaded here, since I am not a fan of huge dependency trees: https://github.com/99991/simple-pp-doclayoutv3 https://github.com/99991/simple-pp-doclayoutv3 Another recent model for this task is Unlimited-OCR: https://github.com/baidu/Unlimited-OCR https://github.com/baidu/Unlimited-OCR