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.
Aspose.OCR for Python via .NET
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
28
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 .NET
for a more detailed description of the features and possibilities of the library.
Key features
Recognizes text in 27 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-net
to fetch the package. If you already have
Aspose.OCR for Python via .NET
and want to get the latest version, please run
pip install --upgrade aspose-ocr-python-net
.
To learn more about
Aspose.OCR for Python via .NET
and explore the basic requirements and features of the library, check out the following
Aspose.OCR for Python via .NET Documentation
pages for other use cases.
Code snippet
Aspose.OCR for Python via .NET
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.
Install the latest version of the
aspose-ocr
package using pip.
Import
aspose.ocr
module into the application.
Create an instance of
AsposeOcr
class.
Create an instance of
OcrInput
class and add one or more images to it.
Extract text from the image using
Recognize
method.
Output the extracted text to the console.
Full code:
import aspose.ocr as ocr
# Initialize OCR engine
api = AsposeOcr()
# Initialize OCR input
input = OcrInput(InputType.SINGLE_IMAGE)
input.add("1.png")
input.add("2.jpg")
# Recognize images
result = api.recognize(input)
# Print result
print(result[0].recognition_text)
print(result[1].recognition_text)
Product Page | Documentation | Demos | Blog | API Reference | Search | Free Support | Temporary License
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Hashes for aspose_ocr_python_net-24.6.0-py3-none-win_amd64.whl
Hashes for aspose_ocr_python_net-24.6.0-py3-none-win_amd64.whl
Algorithm
Hash digest
Hashes for aspose_ocr_python_net-24.6.0-py3-none-win32.whl
Hashes for aspose_ocr_python_net-24.6.0-py3-none-win32.whl
Algorithm
Hash digest
Hashes for aspose_ocr_python_net-24.6.0-py3-none-manylinux1_x86_64.whl
Hashes for aspose_ocr_python_net-24.6.0-py3-none-manylinux1_x86_64.whl
Algorithm
Hash digest
Hashes for aspose_ocr_python_net-24.6.0-py3-none-macosx_11_0_arm64.whl
Hashes for aspose_ocr_python_net-24.6.0-py3-none-macosx_11_0_arm64.whl
Algorithm
Hash digest
"PyPI", "Python Package Index", and the blocks logos are registered trademarks of the Python Software Foundation.
© 2024 Python Software Foundation
Site map