Aspose.OCR for .NET 24.2.0 (MSI) offers efficient development workflows by introducing the ability to download only the OCR features your project requires.
Optimized PDF Recognition
Develop high-performance PDF recognition apps to extract all textual content from PDFs, such as text, vector graphics, and pictures. The latest release of the .NET OCR API equips you with the right tools to recognize PDF documents easily.
Selective Downloads
Using this version of Aspose.OCR for .NET, you can now download only the OCR features you need to reduce file size and simplify deployments.
Automatic Resource Management
Manage the required project resources and download them manually or automatically by default in .NET. Please check out the following steps and information to learn about downloading the resources manually.
Resources.SetLocalPath("aspose/ocr");
Resources.AllowAutomaticDownloads(false);
// Set recognition language
Aspose.OCR.RecognitionSettings recognitionSettings = new Aspose.OCR.RecognitionSettings();
recognitionSettings.Language = Aspose.OCR.Language.Ukr;
Source*
Recognize Cyrillic Characters Seamlessly
The latest C# API release supports effortlessly recognizing Cyrillic characters within your .NET apps. The following code example highlights how to perform such recognition.
// Download Hindi OCR model to "aspose/ocr" directory in the application working directory
Aspose.OCR.Resources.SetLocalPath("aspose/ocr");
Aspose.OCR.Resources.FetchResource("aspose-ocr-cyrillic-v1");
// Initialize Aspose.OCR for .NET recognition API
Aspose.OCR.AsposeOcr recognitionEngine = new Aspose.OCR.AsposeOcr();
// Add images to OcrInput object
Aspose.OCR.OcrInput input = new Aspose.OCR.OcrInput(Aspose.OCR.InputType.SingleImage);
input.Add("source1.png");
input.Add("source2.jpg");
// Set recognition language
Aspose.OCR.RecognitionSettings recognitionSettings = new Aspose.OCR.RecognitionSettings();
recognitionSettings.Language = Aspose.OCR.Language.Ukr;
// Recognize image
List<Aspose.OCR.RecognitionResult> results = recognitionEngine.Recognize(input, recognitionSettings);
foreach(Aspose.OCR.RecognitionResult result in results)
{
Console.WriteLine(result.RecognitionText);
}
Source*
Backward Compatibility
Aspose.OCR 24.2.0 provides seamless backward compatibility so that you can integrate the API features into your existing .NET applications.
You can view the list of all new features, enhancements, and bug fixes introduced in this release by visiting Aspose.OCR for .NET 24.2.0 Release Notes.