Skip to main content

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


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)

Uploaded Source

Built Distribution

textbite-0.1.0-py3-none-any.whl (13.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page