Skip to main content

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.

Project description

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.

Seamlessly integrate advanced optical character recognition into your Python projects with ease. Designed for all-in-one functionality and developer-friendly simplicity, this solution enables you to convert images, scans, PDFs, illustrations, and screenshots into accurate, editable, and searchable text with just a few lines of code. Convert scanned documents into searchable, indexable PDFs, extract and compare text from images, and streamline workflows with unmatched precision and performance. Aspose OCR API is suitable for prototypes, cross-platform applications, and cloud services.

What is optical character recognition (OCR)?

Optical Character Recognition (OCR) is a technology that converts images of printed or handwritten text into machine-readable, editable, and searchable digital text. By analyzing shapes and patterns within an image, OCR identifies characters—letters, numbers, and symbols—and translates them into text that computers can process. This powerful technology enables the extraction of information from physical documents, images, and forms, transforming them into actionable digital data. OCR also plays a vital role in accessibility, providing visually impaired individuals access to text through screen readers and other assistive technologies.

Recognition languages

Aspose OCR is the perfect solution for global applications and multi-lingual documents. With support for nearly all languages, it ensures accurate text extraction across a wide range of scripts and alphabets. Our engine excels at handling mixed-language documents, such as those featuring both Chinese and English, and can automatically detect the language of the input text during recognition.

  • Extended Latin (English, French, German, Spanish, Portuguese, and other European languages)
  • Cyrillic (Russian, Ukrainian, Bulgarian, and more)
  • Arabic and Persian
  • Chinese
  • Hindi and other Devanagari-based scripts
  • Korean
  • Japanese

Aspose OCR can also extract text from handwritten notes and street photos.

Key features

  • Universal – Effortlessly extract text from any image, whether it's a high-quality scan or a casual street photo, captured via scanner or camera.
  • Fast – Achieve rapid text recognition, processing a page in just seconds with minimal resource consumption. Adjust recognition speed, quality, and resource usage according to your specific needs.
  • Developer-friendly – With just a few lines of code, easily convert images to text, create searchable PDFs, save recognition results to documents, and more, integrating OCR into your workflows seamlessly.
  • Modular – Maintain a lean and efficient application by selectively incorporating advanced features from our comprehensive resource repository.
  • Reliable – Experience exceptional recognition accuracy, even with challenging images that are blurry, rotated, distorted, or noisy.

Supported file formats

Aspose OCR can handle nearly any file format from scanners or cameras, including:

  • JPEG, PNG, BMP, and GIF images
  • Single-page and multi-page TIFF files
  • PDF documents
  • DjVu files

All above-mentioned files can be read directly from web links. You can also use Aspose OCR to perform bulk recognition on images within folders and archives, streamlining large-scale document processing.

The recognition results are returned in popular file and data exchange formats, enabling easy storage, database import, or real-time analysis:

  • Plain Text
  • Searchable PDF
  • Microsoft Word or Excel documents
  • HTML
  • RTF
  • ePUB
  • JSON and XML
  • Markdown

Platforms

  • Windows
  • Linux
  • macOS

Developer-friendly

Aspose OCR is designed by developers for developers, offering a straightforward and intuitive interface. You only need 6 lines of code to convert image to text:

import aspose.ocr as ocr
# Initialize OCR engine
api = AsposeOcr()
# Add images to recognition batch
input = OcrInput(InputType.SINGLE_IMAGE)
input.add("1.png")
# Recognize images
results = api.recognize(input)
# Print result
print(results[0].recognition_text)

Licensing

You can begin using the Aspose OCR library immediately after installation. In evaluation mode (without providing a license), you can recognize text in any supported language and save recognition results in all supported formats, with a few limitations:

  • If the number of characters in a recognized image exceeds 300, only the first 300 characters will be recognized.
  • If the number of characters is fewer than 300, only the first 60% of the characters will be recognized.

To unlock all features, request a temporary license, which removes all trial limitations for 30 days. This gives you the opportunity to build a fully functional OCR application and evaluate Aspose.OCR before making your final purchase decision.

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_net-26.4.0-py3-none-win_amd64.whl (127.4 MB view details)

Uploaded Python 3Windows x86-64

aspose_ocr_python_net-26.4.0-py3-none-win32.whl (122.8 MB view details)

Uploaded Python 3Windows x86

aspose_ocr_python_net-26.4.0-py3-none-macosx_11_0_arm64.whl (132.1 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

aspose_ocr_python_net-26.4.0-py3-none-macosx_10_14_x86_64.whl (137.1 MB view details)

Uploaded Python 3macOS 10.14+ x86-64

File details

Details for the file aspose_ocr_python_net-26.4.0-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for aspose_ocr_python_net-26.4.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 03fab4c9a052fa9e1ff0f8466d214d0324eb45cd3a937bbca8365538d67f6b11
MD5 2ad63cff67425e2cd258cc08caf116c0
BLAKE2b-256 b768e73739c06a53944ca21047d393c79f9c6597f8ca526061499700983f128e

See more details on using hashes here.

File details

Details for the file aspose_ocr_python_net-26.4.0-py3-none-win32.whl.

File metadata

File hashes

Hashes for aspose_ocr_python_net-26.4.0-py3-none-win32.whl
Algorithm Hash digest
SHA256 e6a51e1aa37388f3e49d9586a2ece399ee74d036f4a856bceda0acd11200d43d
MD5 f7482af940b8e93abe9859233bfb1e7d
BLAKE2b-256 ac22c9213d88ee582cf3508df28a3042c25f9f09f5dd7f66de3957f8d6258249

See more details on using hashes here.

File details

Details for the file aspose_ocr_python_net-26.4.0-py3-none-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for aspose_ocr_python_net-26.4.0-py3-none-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 bce4d5ed24513fa9c4c58e28e23d45dfb8936e1b36087864858140a288a8850d
MD5 65e08bfc9503e61e96cb168e4458ec41
BLAKE2b-256 63b58773a1155ac3d4c48e466fed8acd580a9f4b7c53d908ed67e6665e46f641

See more details on using hashes here.

File details

Details for the file aspose_ocr_python_net-26.4.0-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for aspose_ocr_python_net-26.4.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a44f0af9473a6e1f7d2a26a32efb87ccc9e9c8def2c376196ba9193510dc75e7
MD5 dc14bedfc50f6f8322c741e4b849acb1
BLAKE2b-256 3f85d8ecfbf259ac046d475496634919499f8315f7873db7edc5e7f237c0424b

See more details on using hashes here.

File details

Details for the file aspose_ocr_python_net-26.4.0-py3-none-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for aspose_ocr_python_net-26.4.0-py3-none-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 ed34c961c8342d0528b46ab2b276bec119fc456301429a73c9604b81e8ed4151
MD5 e0fdda988a45ad8bd20f37bb4073e3e1
BLAKE2b-256 23f4cc338a7c4c99139238a7b8be4a48afd94ecd353fcbb8aa6a659f28c25d2f

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