A package for representing documents as a tree of document, pages, paragraphs, lines, words, and characters
Project description
Docstruct
Overview
Docstruct is a package that parses the results of optical character recognition (OCR) algorithms, such as Tesseract (using the hOCR output) or Textract (AWS), into a tree structure. This tree structure allows for the visual representation of the document, with each node representing a document, page, paragraph, line, word, or character, along with its bounding box. The package also includes support for paragraph detection and text splitting that preserves logical units.
Documentation
For more information read the docs at: [Docstruct](https://smrt-co.github.io/docstruct/)
pip install docstruct
Contributions
Contributions to the Docstruct package are always welcome. If you have a bug fix or a new feature, feel free to create a pull request on the GitHub repository.
License
The Docstruct package is licensed under the MIT License.
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
Built Distribution
Hashes for docstruct-1.0.198-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 785fd7257f1b3095c2c56c26bd73fece5a61b79ef1d90780e2c412f2bdb11b26 |
|
MD5 | af9d63ea3d520c6e6a7e7042254b6f26 |
|
BLAKE2b-256 | 2cfc71c374fe1ddd8ade807f4e6ecbfbdaa68dbbbe4ca0ab2f8bcb6e0142e3b3 |