Skip to main content

Aspose.OCR for Python via CPP is a powerful, while easy-to-use optical character recognition (OCR) engine for your Python applications and notebooks.

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

aspose_ocr_python_cpp-25.2.0-py3-none-win_amd64.whl (13.5 MB view details)

Uploaded Python 3Windows x86-64

File details

Details for the file aspose_ocr_python_cpp-25.2.0-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for aspose_ocr_python_cpp-25.2.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 b091137ff16c813207328ad6b29e5f1695b46eda0d9432d366c8da47b17d650b
MD5 2487d88627877caa7b93d2503a22cfd1
BLAKE2b-256 f89b991452af2f62cef1c9196b82aaba365a904d051fce784abf433e1ddd318a

See more details on using hashes here.

File details

Details for the file aspose_ocr_python_cpp-25.2.0-py3-none-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for aspose_ocr_python_cpp-25.2.0-py3-none-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 0bb82b14fbf2737a839a194e5c846ba0291cfbb137a20ff73a12fdfc53d80e4f
MD5 ff6eb975d39099b5c9aaadca561ebb3e
BLAKE2b-256 c1a62a4111a0a561fe0fd2f20eaa0da4ab0225a9f846745014dd76428dad5c5d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page