Browse our Products Toggle navigation
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.
If you experience errors, when you try to download a file, make sure your network policies (enforced by your company or ISP) allow downloading ZIP and/or MSI files.
Aspose.OCR for .NET 24.6.0 enables adding new functionalities for Optical Character Recognition (OCR) to your C# and VB.NET solutions. This update introduces the ability to extract key details from US passport images and embed fonts in the generated PDFs.
Effortlessly extract essential details like name, number, and date of birth from US passport images within your .NET OCR applications using the new Aspose.OCR.Country.USA recognition setting in the latest C# OCR API release. Please check out the following code example, which explains the feature usage:
Aspose.OCR.Country.USA
Aspose.OCR.AsposeOcr recognitionEngine = new Aspose.OCR.AsposeOcr(); // Add scanned passport to recognition batch OcrInput passports = new OcrInput(InputType.SingleImage); passports.Add("us_passport_sample.png"); // Explicitly specify that you are processing US passport var recognitionSettings = new PassportRecognitionSettings(); recognitionSettings.Country = Aspose.OCR.Country.USA; // Recognize passport List<Aspose.OCR.RecognitionResult> results = recognitionEngine.RecognizePassport(passports, recognitionSettings); // Parse passport data and output essential details along with image regions they were found in var details = results[0].GetKeywords(); foreach (var item in details) { Console.WriteLine($"{item.Key}: {item.Value.TextInLine}"); Console.WriteLine($"Left: {item.Value.Line.X}; top: {item.Value.Line.Y}; size: {item.Value.Line.Width} x {item.Value.Line.Height}"); }
Source*
Embed custom fonts within your recognized text saved as PDFs with this version of Aspose.OCR for .NET and ensure consistent presentation across platforms. This code example illustrates embedding custom fonts into the generated PDF documents:
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("page1.png"); input.Add("page2.png"); // Recognize images List<Aspose.OCR.RecognitionResult> results = recognitionEngine.Recognize(input); // Save results as text-only PDF in Adobe Ming font Aspose.OCR.AsposeOcr.SaveMultipageDocument("result.pdf", Aspose.OCR.SaveFormat.PdfNoImg, results, "fonts/AdobeMingStd-Light.otf");
Aspose.OCR for .NET 24.6.0 maintains full backward compatibility, allowing you to seamlessly integrate the new features without code changes.
You can view the list of all new features, enhancements, and bug fixes introduced in this release by visiting Aspose.OCR for .NET 24.6.0 Release Notes.