Browse our Products

If so you can download any of the below versions for testing. The product will function as normal except for an evaluation limitation. At the time of purchase we provide a license file via email that will allow the product to work in its full capacity. If you would also like an evaluation license to test without any restrictions for 30 days, please follow the directions provided here.

Download Aspose.OCR for Python via Java for image recognition.

Add optical character recognition (OCR) capabilities to your data science, AI, and automation solutions written in Python 3.6 or later. Extract text from photos, scans, PDF documents and other graphical files without having to delve into complex mathematical operations, neural networks, and other technical details.

Aspose.OCR for Python via Java can be download here and installed from local file system with the following pip command:

>

>

Product Page | Docs | Demos | Blog | Code Samples | Free Support | Temporary License | EULA

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.

Code snippet

Aspose.OCR for Python via Java 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 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:

import aspose as ocr

# Initialize OCR engine
api = ocr.AsposeOcr()

# Initialize OCR input
filters = ocr.PreprocessingFilter()
filters.add(ocr.PreprocessingFilter.auto_skew())
input = ocr.OcrInput(ocr.InputType.SINGLE_IMAGE, filters)
input.add("1.png")
input.add("2.jpg")

# Recognize images
settings = ocr.RecognitionSettings()
settings.set_detect_areas_mode(ocr.DetectAreasMode.PHOTO)
result = api.recognize(input)

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

Direct Download

Aspose.OCR for Python via Java 24.2.0

Decrease package size. Move resources to GitHub

Added: Downloads:

Download

File Size: 95.68MB

Aspose.OCR for Python via Java 23.12.0

First release (includes text-in-wild)

Added: Downloads:

Download

File Size: 348.8MB