Skip to main content

Aspose.OCR for Python via C++

Product Page | Documentation | Demos | Blog | API Reference | Search | Free Support | Temporary License

Try our Free Online Apps demonstrating some of the most popular Aspose.OCR functionality.

Aspose.OCR for Python via CPP 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 130 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 of Aspose.OCR for Python via CPP for a more detailed description of the features and possibilities of the library.

Key features

  • Recognizes text in 28 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-cpp to fetch the package. If you already have Aspose.OCR for Python via CPP and want to get the latest version, please run pip install --upgrade aspose-ocr-python-cpp.

To learn more about Aspose.OCR for Python via CPP and explore the basic requirements and features of the library, check out the following Aspose.OCR for Python via CPP Documentation pages for other use cases.

Code snippet

Aspose.OCR for Python via CPP 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-python-cpp package using pip.
  2. Import aspose.asposeocr module into the application.
  3. Extract text from the image using AsposeOCRRecognize method.
  4. Output the extracted text to the console.

Full code:

from aspose.asposeocr import *

settings = RecognitionSettings()
recognition_batch = [AsposeOCRInput()]
recognition_batch[0].url = 'scan.png'
recognition_result = AsposeOCRRecognize(recognition_batch, settings)

recognize_result_txt = AsposeOCRSerializeResult(recognition_result, ExportFormat.json)
print(recognize_result_txt)

Product Page | Documentation | Demos | Blog | API Reference | Search | Free Support | Temporary License

Metadata

Release files for aspose-ocr-python-cpp 24.9.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for aspose-ocr-python-cpp 24.9.0
File Interpreter ABI Platform Actions
aspose_ocr_python_cpp-24.9.0-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for aspose_ocr_python_cpp-24.9.0-py3-none-win_amd64.whl
aspose_ocr_python_cpp-24.9.0-py3-none-manylinux1_x86_64.whl Python 3 none Linux glibc 2.5+ x86-64 Details for aspose_ocr_python_cpp-24.9.0-py3-none-manylinux1_x86_64.whl

Total release size: 33.1 MB

Release files / aspose_ocr_python_cpp-24.9.0-py3-none-win_amd64.whl

Download URL aspose_ocr_python_cpp-24.9.0-py3-none-win_amd64.whl
Size 13.5 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
19b76ae8e650f11275f531f8bd8411144345b0eab1d96d0916cfaf972024fe25
BLAKE2b-256 checksum
How to use checksums
8ae5aae66e2e5c32227e36c82892afcc2da990e31ffaca4e5c6a12d6b9cae5c5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.9

Release files / aspose_ocr_python_cpp-24.9.0-py3-none-manylinux1_x86_64.whl

Download URL aspose_ocr_python_cpp-24.9.0-py3-none-manylinux1_x86_64.whl
Size 19.6 MB
Tags Linux glibc 2.5+ x86-64 Python 3
SHA-256 checksum
How to use checksums
28fa197e4c2ef948cb450a972c77fa8d3141793659f7aca3197524a64c606033
BLAKE2b-256 checksum
How to use checksums
843e4ffe499f08db4db9a9831a04ee4e9e0e7931770c23193bf64fef6a8bb6ea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.9

Security for aspose-ocr-python-cpp 24.9.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page