textbite


Nametextbite JSON
Version 0.1.0 PyPI version JSON
download
home_page
SummaryToolkit for extracting logical chunks from complex document pages.
upload_time2024-01-05 16:26:14
maintainer
docs_urlNone
author
requires_python>=3.7
licenseBSD 3-Clause License Copyright (c) 2023, DCGM Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
keywords layout analysis
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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](https://nextcloud.fit.vutbr.cz/s/5xHQcgosNai9pwa) yourself and provide path as an argument.

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "textbite",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "",
    "keywords": "Layout analysis",
    "author": "",
    "author_email": "Karel Bene\u0161 <ibenes@fit.vutbr.cz>",
    "download_url": "https://files.pythonhosted.org/packages/f0/1f/9b98b81f73fb2f2e9ebade2f7e0809617f4d6257a2c11e3805bf7339200a/textbite-0.1.0.tar.gz",
    "platform": null,
    "description": "# semANT-TextBite\n\nTool for extracting logical chunks from complex document pages.\n\nInstall from PyPi:\n```\npip install textbite\n```\n\nRun by simply providing a folder of images alongside a folder of corresponding PAGE XMLs (such as obtained from pero-ocr):\n\n```\ntextbite --xml-input page_xmls/ --images jpegs/ --xml-output textbite-out/ [--model best-weights.pt]\n```\n\nBy default, TextBite downloads a detection model from the internet. In case you are working in an offline environment, you can [download it](https://nextcloud.fit.vutbr.cz/s/5xHQcgosNai9pwa) yourself and provide path as an argument.\n",
    "bugtrack_url": null,
    "license": "BSD 3-Clause License  Copyright (c) 2023, DCGM  Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.  3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ",
    "summary": "Toolkit for extracting logical chunks from complex document pages.",
    "version": "0.1.0",
    "project_urls": null,
    "split_keywords": [
        "layout",
        "analysis"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "afc5a339ac6414082b2a45fdcdbad3ab745d23a0b3674ec67cb6a5a95e2e1427",
                "md5": "104be4a99366c70c58f649fb284b1ca8",
                "sha256": "2c3a6a4ca80cc406cddcc82e1fa1bd17f0236f6b9257927c63e35baddc07005d"
            },
            "downloads": -1,
            "filename": "textbite-0.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "104be4a99366c70c58f649fb284b1ca8",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 12959,
            "upload_time": "2024-01-05T16:26:13",
            "upload_time_iso_8601": "2024-01-05T16:26:13.242089Z",
            "url": "https://files.pythonhosted.org/packages/af/c5/a339ac6414082b2a45fdcdbad3ab745d23a0b3674ec67cb6a5a95e2e1427/textbite-0.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f01f9b98b81f73fb2f2e9ebade2f7e0809617f4d6257a2c11e3805bf7339200a",
                "md5": "9371eab0313c8c780381aebd04da3432",
                "sha256": "cc9e4ccf5ccd2b48413ef303aabf4e5622cbe85d95d97b60fe34b2146ac0303e"
            },
            "downloads": -1,
            "filename": "textbite-0.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "9371eab0313c8c780381aebd04da3432",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 11699,
            "upload_time": "2024-01-05T16:26:14",
            "upload_time_iso_8601": "2024-01-05T16:26:14.953317Z",
            "url": "https://files.pythonhosted.org/packages/f0/1f/9b98b81f73fb2f2e9ebade2f7e0809617f4d6257a2c11e3805bf7339200a/textbite-0.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-01-05 16:26:14",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "textbite"
}
        
Elapsed time: 0.16311s