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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3Windows x86

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

Uploaded Python 3macOS 11.0+ ARM64

aspose_ocr_python_net-26.3.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.3.0-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for aspose_ocr_python_net-26.3.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 d16f49462100a36ae20d362e4aafa6dbf2409103794c74c187caf3864be24e0e
MD5 dec14c0884dcd2a7cd45c14b4a515951
BLAKE2b-256 ae7ebb5a8cc2b7452d17d906c7bb9769693574250c07a077a650e0fb71558149

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aspose_ocr_python_net-26.3.0-py3-none-win32.whl
Algorithm Hash digest
SHA256 6d0f1ba626b88e9111988665c6ab21e062a1534f71208c9d5e78f72f370c609d
MD5 b11264ecb4c3638ccf50f2a81106fa8d
BLAKE2b-256 63dbe266416ce80e2de9c1a7c94ef8adb3f0c7d2726273c3d66b1774ef772a2c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aspose_ocr_python_net-26.3.0-py3-none-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 1698cc9b0f11cfe9ee7feeac052991fae75285aa07e983f14e92c82be0b30d43
MD5 898688253e588da8ff0aebc174620eaf
BLAKE2b-256 4f022738bc6e3bb22b7b93aa9ed67f1b65be253f3743a5ccdda86dfe93dbaecb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aspose_ocr_python_net-26.3.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3cc0966173828eafb05898e78804272929a4acc628e869731e1ebc8dbd0967b2
MD5 fb28bb9e559da8924cc0a3e95562e011
BLAKE2b-256 380babae5662d6b16fb2ea395bad84e011bca678b010044dd2548ec485a7ffad

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aspose_ocr_python_net-26.3.0-py3-none-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 e75c8624290fe83db2a382ba63c31819539b4bec997fff685b26c835e8cfd5e5
MD5 0fea657d213fa125822067f3863035a4
BLAKE2b-256 0b7dc3405893445dea8baa87a7af305c63435e540e72380b1befa7df8c5ea691

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