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 xmls/ \
--img imgs/ \
--yolo yolo.pt \
--gnn gnn.pth \
--normalizer norm.pkl \
--save out/ \
[--logging-level INFO] \
[--json] \
[--alto altos/]
By default, TextBite downloads neccessary models from the internet. In case you are working in an offline environment, you can download it yourself and provide path as an argument.
Metadata
Release files for textbite 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| textbite-1.0.0.tar.gz | 17.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| textbite-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 38.4 kB
Release files / textbite-1.0.0.tar.gz
| Download URL | textbite-1.0.0.tar.gz |
|---|---|
| Size | 17.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f9d79e36748f3af7e79dd4832875cfefe89d00dcbba3d26d09740cd282f34253
|
|
BLAKE2b-256 checksum How to use checksums |
374ebbf19de6acbf2645991413c071eba0b68227ca8f38106c941a80cf70e163
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.12
|
Release files / textbite-1.0.0-py3-none-any.whl
| Download URL | textbite-1.0.0-py3-none-any.whl |
|---|---|
| Size | 20.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b1560ad729001e1d621fc85c84f898b3b0fa0899ff894084256c1c87cf3efb12
|
|
BLAKE2b-256 checksum How to use checksums |
9a1455b80c1b1ca05216bc7e3bdad88e9f73da42c7b6dad8e100e83fd9696ddc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.12
|