Toolkit for extracting logical chunks from complex document pages.
Project description
semANT-TextBite
Tool for extracting logical chunks from complex document pages.
Install from PyPi:
pip install textbite
Run by simply providing a folder of images alongside a folder of corresponding PAGE XMLs (such as obtained from pero-ocr):
textbite --xml-input page_xmls/ --images jpegs/ --xml-output textbite-out/ [--model best-weights.pt]
By default, TextBite downloads a detection model from the internet. In case you are working in an offline environment, you can download it yourself and provide path as an argument.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
textbite-0.1.0.tar.gz
(11.7 kB
view hashes)
Built Distribution
textbite-0.1.0-py3-none-any.whl
(13.0 kB
view hashes)