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.

 

Aspose.OCR for NET 24.4.0 (DLLs only)

Download  Support Forum 

File Details

  • Downloads:
  • 1
  • File Size:
  • 126.61MB
  • Date Added:
  • 15/4/2024

Description

It contains Aspose.OCR for .NET 24.4.0 (DLLs-only) release.

File Details

The Aspose.OCR for .NET 24.4.0 (DLLs-only) release allows developers to add advanced OCR capabilities to their .NET projects. This update introduces valuable new features and enhancements for streamlined document processing.

Recognize Arabic Text

You can now recognize Arabic text within images or scanned documents using this API update, including mixed Arabic/English content. The following code sample highlights the feature usage.


// Initialize Aspose.OCR for .NET recognition API
Aspose.OCR.AsposeOcr recognitionEngine = new Aspose.OCR.AsposeOcr();
// Add image
Aspose.OCR.OcrInput input = new Aspose.OCR.OcrInput(Aspose.OCR.InputType.SingleImage);
input.Add("source.png");
// Set recognition language
Aspose.OCR.RecognitionSettings recognitionSettings = new Aspose.OCR.RecognitionSettings();
recognitionSettings.Language = Aspose.OCR.Language.Ara;
// Recognize image
List<Aspose.OCR.RecognitionResult> results = recognitionEngine.Recognize(input, recognitionSettings);
Console.WriteLine(results[0].RecognitionText);

Source*

Process Cancellation Upgrades

Version 24.4.0 of the C# OCR API helps you control lengthy OCR operations precisely. The Recognize method now accepts a CancellationToken parameter, offering you the ability to stop the process manually or set an automatic timeout. This code example illustrates how to use this feature within your C# apps.


// Set automatic cancellation after 20 seconds (20,000ms)
CancellationTokenSource cancellationTokenSource  = new CancellationTokenSource();
cancellationTokenSource.CancelAfter(20000);
// Initialize Aspose.OCR for .NET recognition API
Aspose.OCR.AsposeOcr recognitionEngine = new Aspose.OCR.AsposeOcr();
// Add scanned PDF to recognition batch
Aspose.OCR.OcrInput input = new Aspose.OCR.OcrInput(Aspose.OCR.InputType.PDF);
input.Add("large.pdf");
// Recognize image
List<Aspose.OCR.RecognitionResult> results = recognitionEngine.Recognize(input, null, cancellationTokenSource.Token);

Source*

Backward Compatibility

The existing code developed using the earlier Aspose.OCR for .NET versions will continue to work flawlessly with version 24.4.0.

You can view the list of all new features, enhancements, and bug fixes introduced in this release by visiting Aspose.OCR for .NET 24.4.0 Release Notes.

 English