fast-deskew


Namefast-deskew JSON
Version 1.0 PyPI version JSON
download
home_pagehttps://github.com/Subhamp7/fast_deskew
SummaryDeskew any images faster than ever
upload_time2021-07-06 09:40:15
maintainer
docs_urlNone
authorSubham Prasad
requires_python>=3
licenseMIT
keywords python deskew open cv skew
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
# fast_deskew
An optimised way to deskew images faster.

• Available on :The Python Package Index (PyPI)  :<br /> https://pypi.org/
## Installation
```pip install fast_deskew```

## How to use it?
import fast_deskew

INPUT_IMAGE_PATH = "example/input_image.png"

img_input = cv2.imread(INPUT_IMAGE_PATH,cv2.IMREAD_GRAYSCALE)

result_image, best_angle = fast_deskew.deskew_image(img_input)

OR 

import fast_deskew

INPUT_IMAGE_PATH = "example/input_image.png"

result_image, best_angle = fast_deskew.deskew_image(INPUT_IMAGE_PATH, False) #0 for image array and 1 for image_path.

<br /> 
<br /> 

## Input Image:

 ![alt tag](https://github.com/Subhamp7/fast_deskew/blob/master/readme_resources/input_image.png)

<br /> 
<br /> 

 ## Output Image:

 ![alt tag](https://github.com/Subhamp7/fast_deskew/blob/master/readme_resources/result_image.png)


 ## License

© 2021 Subham Prasad

This repository is licensed under the MIT license. See LICENSE for details.


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/Subhamp7/fast_deskew",
    "name": "fast-deskew",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3",
    "maintainer_email": "",
    "keywords": "python,deskew,open cv,skew",
    "author": "Subham Prasad",
    "author_email": "subham306952@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/64/75/94e03ac1073c7b5d0fc14120650368a922ff7582a4dddf72a6ae7b1e7b3d/fast_deskew-1.0.tar.gz",
    "platform": "",
    "description": "\n# fast_deskew\nAn optimised way to deskew images faster.\n\n\u2022 Available on :The Python Package Index (PyPI)  :<br /> https://pypi.org/\n## Installation\n```pip install fast_deskew```\n\n## How to use it?\nimport fast_deskew\n\nINPUT_IMAGE_PATH = \"example/input_image.png\"\n\nimg_input = cv2.imread(INPUT_IMAGE_PATH,cv2.IMREAD_GRAYSCALE)\n\nresult_image, best_angle = fast_deskew.deskew_image(img_input)\n\nOR \n\nimport fast_deskew\n\nINPUT_IMAGE_PATH = \"example/input_image.png\"\n\nresult_image, best_angle = fast_deskew.deskew_image(INPUT_IMAGE_PATH, False) #0 for image array and 1 for image_path.\n\n<br /> \n<br /> \n\n## Input Image:\n\n ![alt tag](https://github.com/Subhamp7/fast_deskew/blob/master/readme_resources/input_image.png)\n\n<br /> \n<br /> \n\n ## Output Image:\n\n ![alt tag](https://github.com/Subhamp7/fast_deskew/blob/master/readme_resources/result_image.png)\n\n\n ## License\n\n\u00a9 2021 Subham Prasad\n\nThis repository is licensed under the MIT license. See LICENSE for details.\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Deskew any images faster than ever",
    "version": "1.0",
    "project_urls": {
        "Homepage": "https://github.com/Subhamp7/fast_deskew"
    },
    "split_keywords": [
        "python",
        "deskew",
        "open cv",
        "skew"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "bdc8cbe523615ccd1f729db4178f60bfd1c566bb7e933c6c1659c9eb1d8caacb",
                "md5": "55a96984e0a5eb45e7c3937de9f650e6",
                "sha256": "dfa7bd4e18f372ab685522d47fc8d1f5cf8af3cafaaccd760c1a5ff776376b26"
            },
            "downloads": -1,
            "filename": "fast_deskew-1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "55a96984e0a5eb45e7c3937de9f650e6",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3",
            "size": 3281,
            "upload_time": "2021-07-06T09:40:14",
            "upload_time_iso_8601": "2021-07-06T09:40:14.248417Z",
            "url": "https://files.pythonhosted.org/packages/bd/c8/cbe523615ccd1f729db4178f60bfd1c566bb7e933c6c1659c9eb1d8caacb/fast_deskew-1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "647594e03ac1073c7b5d0fc14120650368a922ff7582a4dddf72a6ae7b1e7b3d",
                "md5": "48f8879ecb768cedbcd275e276ef7577",
                "sha256": "11012b94c4b7c2cb976a5c9ffcb9437a46f0fb6049a5b7d97498defe1587eaa4"
            },
            "downloads": -1,
            "filename": "fast_deskew-1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "48f8879ecb768cedbcd275e276ef7577",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3",
            "size": 3120,
            "upload_time": "2021-07-06T09:40:15",
            "upload_time_iso_8601": "2021-07-06T09:40:15.775572Z",
            "url": "https://files.pythonhosted.org/packages/64/75/94e03ac1073c7b5d0fc14120650368a922ff7582a4dddf72a6ae7b1e7b3d/fast_deskew-1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2021-07-06 09:40:15",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Subhamp7",
    "github_project": "fast_deskew",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "fast-deskew"
}
        
Elapsed time: 0.26964s