aspose-ocr-python-net


Nameaspose-ocr-python-net JSON
Version 24.11.1 PyPI version JSON
download
home_pagehttps://products.aspose.com/ocr/
SummaryAspose.OCR for Python is a powerful yet easy-to-use and cost-effective API for extracting text from scanned images, photos, screenshots, PDF documents, and other files.
upload_time2024-11-22 07:58:51
maintainerNone
docs_urlNone
authorAspose
requires_python<3.12,>=3.5
licensettps://company.aspose.com/legal/eula
keywords ocr recognize text diacritic python aspose
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            [Product Page](https://products.aspose.com/ocr/python-net/) | [Documentation](https://docs.aspose.com/ocr/python-net/) | [Demos](https://products.aspose.app/ocr/family) | [Blog](https://blog.aspose.com/categories/aspose.ocr-product-family/) | [API Reference](https://reference.aspose.com/ocr/python-net/) | [Search](https://search.aspose.com/) | [Free Support](https://forum.aspose.com/c/ocr/16) | [Temporary License](https://purchase.aspose.com/temporary-license)

Try our [Free Online Apps](https://products.aspose.app/ocr/family) demonstrating some of the most popular Aspose.OCR functionality.

**Aspose.OCR for Python via .NET** is a powerful, while easy-to-use optical character recognition (OCR) engine for your Python applications and notebooks. In less than **10** lines of code, you can recognize text in **135** languages based on Latin, Cyrillic, and Asian scripts, returning results in the most popular document and data interchange formats. 
There is no need to learn complex mathematical models, build machine learning algorithms and train neural networks — our simple and robust API will do everything for you.

The library works equally well with all sources, from a high-quality scan to a quick photo on a smartphone. Whether the image is rotated, distorted or noisy — automatic pre- and post-processing filters provide the highest recognition accuracy in the shortest time.


Check out the [Landing Pages](https://products.aspose.com/ocr/python-net/) of **Aspose.OCR for Python via .NET** for a more detailed description of the features and possibilities of the library.

## Key features

- Recognizes text in more then 130 languages based on Latin, Cyrillic and Asian scrips, including texts in mixed languages.
- Accurately extracts texts regardless of the original image quality - work with rotated, distorted and noisy pictures and photos.
- Supports most file formats you can get from a scanner or camera, as well as web links.
- Automatically corrects spelling errors to further improve the results without manual intervention.
- Reads multi-page documents, folders, and even ZIP archives in bulk and returns results in the most popular document and data exchange formats.


## Get Started

Run ```pip install aspose-ocr-python-net``` to fetch the package. If you already have **Aspose.OCR for Python via .NET** and want to get the latest version, please run ```pip install --upgrade aspose-ocr-python-net```.

To learn more about **Aspose.OCR for Python via .NET** and explore the basic requirements and features of the library, check out the following [Aspose.OCR for Python via .NET Documentation](https://docs.aspose.com/ocr/python-net/) pages for other use cases.

### Code snippet

**Aspose.OCR for Python via .NET** is extremely easy to use, regardless of the application's scale and complexity. Let's try to create a very simple application that can extract text from images and output it to the console.

1. Install  the latest version of the *aspose-ocr* package using pip.
2. Import `aspose.ocr` module into the application.
3. Create an instance of `AsposeOcr` class.
4. Create an instance of `OcrInput` class and add one or more images to it.
5. Extract text from the image using `Recognize` method.
6. Output the extracted text to the console.

Full code:

```python
import aspose.ocr as ocr

# Initialize OCR engine
api = AsposeOcr()

# Initialize OCR input
input = OcrInput(InputType.SINGLE_IMAGE)
input.add("1.png")
input.add("2.jpg")

# Recognize images
result = api.recognize(input)

# Print result
print(result[0].recognition_text)
print(result[1].recognition_text)
```

[Product Page](https://products.aspose.com/ocr/python-net/) | [Documentation](https://docs.aspose.com/ocr/python-net/) | [Demos](https://products.aspose.app/ocr/family) | [Blog](https://blog.aspose.com/categories/aspose.ocr-product-family/) | [API Reference](https://reference.aspose.com/ocr/python-net/) | [Search](https://search.aspose.com/) | [Free Support](https://forum.aspose.com/c/ocr/16) | [Temporary License](https://purchase.aspose.com/temporary-license)

            

Raw data

            {
    "_id": null,
    "home_page": "https://products.aspose.com/ocr/",
    "name": "aspose-ocr-python-net",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<3.12,>=3.5",
    "maintainer_email": null,
    "keywords": "OCR, Recognize text, diacritic, Python, Aspose",
    "author": "Aspose",
    "author_email": null,
    "download_url": null,
    "platform": "macos_x86_64",
    "description": "[Product Page](https://products.aspose.com/ocr/python-net/) | [Documentation](https://docs.aspose.com/ocr/python-net/) | [Demos](https://products.aspose.app/ocr/family) | [Blog](https://blog.aspose.com/categories/aspose.ocr-product-family/) | [API Reference](https://reference.aspose.com/ocr/python-net/) | [Search](https://search.aspose.com/) | [Free Support](https://forum.aspose.com/c/ocr/16) | [Temporary License](https://purchase.aspose.com/temporary-license)\n\nTry our [Free Online Apps](https://products.aspose.app/ocr/family) demonstrating some of the most popular Aspose.OCR functionality.\n\n**Aspose.OCR for Python via .NET** is a powerful, while easy-to-use optical character recognition (OCR) engine for your Python applications and notebooks. In less than **10** lines of code, you can recognize text in **135** languages based on Latin, Cyrillic, and Asian scripts, returning results in the most popular document and data interchange formats. \nThere is no need to learn complex mathematical models, build machine learning algorithms and train neural networks \u2014 our simple and robust API will do everything for you.\n\nThe library works equally well with all sources, from a high-quality scan to a quick photo on a smartphone. Whether the image is rotated, distorted or noisy \u2014 automatic pre- and post-processing filters provide the highest recognition accuracy in the shortest time.\n\n\nCheck out the [Landing Pages](https://products.aspose.com/ocr/python-net/) of **Aspose.OCR for Python via .NET** for a more detailed description of the features and possibilities of the library.\n\n## Key features\n\n- Recognizes text in more then 130 languages based on Latin, Cyrillic and Asian scrips, including texts in mixed languages.\n- Accurately extracts texts regardless of the original image quality - work with rotated, distorted and noisy pictures and photos.\n- Supports most file formats you can get from a scanner or camera, as well as web links.\n- Automatically corrects spelling errors to further improve the results without manual intervention.\n- Reads multi-page documents, folders, and even ZIP archives in bulk and returns results in the most popular document and data exchange formats.\n\n\n## Get Started\n\nRun ```pip install aspose-ocr-python-net``` to fetch the package. If you already have **Aspose.OCR for Python via .NET** and want to get the latest version, please run ```pip install --upgrade aspose-ocr-python-net```.\n\nTo learn more about **Aspose.OCR for Python via .NET** and explore the basic requirements and features of the library, check out the following [Aspose.OCR for Python via .NET Documentation](https://docs.aspose.com/ocr/python-net/) pages for other use cases.\n\n### Code snippet\n\n**Aspose.OCR for Python via .NET** is extremely easy to use, regardless of the application's scale and complexity. Let's try to create a very simple application that can extract text from images and output it to the console.\n\n1. Install  the latest version of the *aspose-ocr* package using pip.\n2. Import `aspose.ocr` module into the application.\n3. Create an instance of `AsposeOcr` class.\n4. Create an instance of `OcrInput` class and add one or more images to it.\n5. Extract text from the image using `Recognize` method.\n6. Output the extracted text to the console.\n\nFull code:\n\n```python\nimport aspose.ocr as ocr\n\n# Initialize OCR engine\napi = AsposeOcr()\n\n# Initialize OCR input\ninput = OcrInput(InputType.SINGLE_IMAGE)\ninput.add(\"1.png\")\ninput.add(\"2.jpg\")\n\n# Recognize images\nresult = api.recognize(input)\n\n# Print result\nprint(result[0].recognition_text)\nprint(result[1].recognition_text)\n```\n\n[Product Page](https://products.aspose.com/ocr/python-net/) | [Documentation](https://docs.aspose.com/ocr/python-net/) | [Demos](https://products.aspose.app/ocr/family) | [Blog](https://blog.aspose.com/categories/aspose.ocr-product-family/) | [API Reference](https://reference.aspose.com/ocr/python-net/) | [Search](https://search.aspose.com/) | [Free Support](https://forum.aspose.com/c/ocr/16) | [Temporary License](https://purchase.aspose.com/temporary-license)\n",
    "bugtrack_url": null,
    "license": "ttps://company.aspose.com/legal/eula",
    "summary": "Aspose.OCR for Python is a powerful yet easy-to-use and cost-effective API for extracting text from scanned images, photos, screenshots, PDF documents, and other files.",
    "version": "24.11.1",
    "project_urls": {
        "Homepage": "https://products.aspose.com/ocr/"
    },
    "split_keywords": [
        "ocr",
        " recognize text",
        " diacritic",
        " python",
        " aspose"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1c14eebf683874b1115281d87a7df4ac8225d20f3a6aab7504f214b31fbabacf",
                "md5": "9d55f872dc75cff8286bd8a56af407d5",
                "sha256": "cfc6cb765b75c5bda302fe69c7fb6efdaa7b6a7804fea47535bdf229d2a7e24b"
            },
            "downloads": -1,
            "filename": "aspose_ocr_python_net-24.11.1-py3-none-macosx_10_14_x86_64.whl",
            "has_sig": false,
            "md5_digest": "9d55f872dc75cff8286bd8a56af407d5",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<3.12,>=3.5",
            "size": 132426034,
            "upload_time": "2024-11-22T07:58:51",
            "upload_time_iso_8601": "2024-11-22T07:58:51.048936Z",
            "url": "https://files.pythonhosted.org/packages/1c/14/eebf683874b1115281d87a7df4ac8225d20f3a6aab7504f214b31fbabacf/aspose_ocr_python_net-24.11.1-py3-none-macosx_10_14_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "dd5f1e633524de04e5e07357680fb8b81d6ef352e5c02999b8e9ab3262a5b2a6",
                "md5": "280e3ef52f16135fca5a3b2439bae905",
                "sha256": "fad730f475222f8e71b7d14fd6516ce505674ede813e07c927de71656d427a43"
            },
            "downloads": -1,
            "filename": "aspose_ocr_python_net-24.11.1-py3-none-macosx_11_0_arm64.whl",
            "has_sig": false,
            "md5_digest": "280e3ef52f16135fca5a3b2439bae905",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<3.12,>=3.5",
            "size": 127033042,
            "upload_time": "2024-11-22T07:59:07",
            "upload_time_iso_8601": "2024-11-22T07:59:07.553221Z",
            "url": "https://files.pythonhosted.org/packages/dd/5f/1e633524de04e5e07357680fb8b81d6ef352e5c02999b8e9ab3262a5b2a6/aspose_ocr_python_net-24.11.1-py3-none-macosx_11_0_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "932583c87f57426c4421dc1d59cb890bd1cd03db37bbc1ef15689a5161241653",
                "md5": "6f40adff3e9d69b1175a1e9c4c1f57a4",
                "sha256": "aed280e9e9432978ee0658a533b872b9d92379ab71bf8172adbe0d5f55f9d8dd"
            },
            "downloads": -1,
            "filename": "aspose_ocr_python_net-24.11.1-py3-none-manylinux1_x86_64.whl",
            "has_sig": false,
            "md5_digest": "6f40adff3e9d69b1175a1e9c4c1f57a4",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<3.12,>=3.5",
            "size": 132093959,
            "upload_time": "2024-11-22T07:59:24",
            "upload_time_iso_8601": "2024-11-22T07:59:24.824808Z",
            "url": "https://files.pythonhosted.org/packages/93/25/83c87f57426c4421dc1d59cb890bd1cd03db37bbc1ef15689a5161241653/aspose_ocr_python_net-24.11.1-py3-none-manylinux1_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1d1a8b43d37b7c414eee8aec7b97eb91328987e892aa5df6c0ffde1cd1ae15fe",
                "md5": "bf6f8a381352a7c1e58901f4996918e0",
                "sha256": "a1626ff6191bd690c4514100451896f4680c4f416d2a6fad4fdcad1dc615a4a7"
            },
            "downloads": -1,
            "filename": "aspose_ocr_python_net-24.11.1-py3-none-win32.whl",
            "has_sig": false,
            "md5_digest": "bf6f8a381352a7c1e58901f4996918e0",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<3.12,>=3.5",
            "size": 118803436,
            "upload_time": "2024-11-22T07:59:40",
            "upload_time_iso_8601": "2024-11-22T07:59:40.998120Z",
            "url": "https://files.pythonhosted.org/packages/1d/1a/8b43d37b7c414eee8aec7b97eb91328987e892aa5df6c0ffde1cd1ae15fe/aspose_ocr_python_net-24.11.1-py3-none-win32.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "73b563740af7cdcd29c9001182b1d7736271b04d1c70c01dcbb000a3ff307ffb",
                "md5": "bf23fac9b1968f016a91bea92495cc7e",
                "sha256": "c182dba90bb2e15ecef5d3a06615ab5a5f869d38c7f2c7112f50dfd67d139dee"
            },
            "downloads": -1,
            "filename": "aspose_ocr_python_net-24.11.1-py3-none-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "bf23fac9b1968f016a91bea92495cc7e",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<3.12,>=3.5",
            "size": 123117835,
            "upload_time": "2024-11-22T07:59:56",
            "upload_time_iso_8601": "2024-11-22T07:59:56.802517Z",
            "url": "https://files.pythonhosted.org/packages/73/b5/63740af7cdcd29c9001182b1d7736271b04d1c70c01dcbb000a3ff307ffb/aspose_ocr_python_net-24.11.1-py3-none-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-11-22 07:58:51",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "aspose-ocr-python-net"
}
        
Elapsed time: 0.79952s