Socket
Socket
Sign inDemoInstall

aspose-ocr-models-textinwild-python-net

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aspose-ocr-models-textinwild-python-net

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.


Maintainers
1

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.Models.TextInWild for Python via .NET This extension to Aspose.OCR for Python via .NET adds a specialized recognition model and methods to accurately extract text from street photos, traffic camera images, ID cards, driver licenses, and other images with sparse text and noisy/colored backgrounds. This is useful for improving OCR accuracy in specific business cases:

  • Segment and identify road signs and signboards within street images.
  • Locate price tags and interpret the extracted text as prices.
  • Find and aggregate regions of interest on food labels, such as nutritional information or ingredient lists.
  • Identify and analyze car license plates.
  • Extract text from menus and catalogs.

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.

##Important considerations:

  • This package requires Aspose.OCR for Python via.NET to function properly. It cannot be used separately from the core API.
  • The model only works with Latin letters and numbers.

Get Started

Run pip install aspose-ocr-python-net and pip install aspose-ocr-models-textinwild-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.

  1. Install the latest version of the aspose-ocr package using pip.
  2. Import aspose.ocr 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 street photo using recognize_street_photo method.
  6. 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_street_photo(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

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc