Aspose.OCR 22.9.0

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Aspose.OCR --version 22.9.0
                    
NuGet\Install-Package Aspose.OCR -Version 22.9.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Aspose.OCR" Version="22.9.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Aspose.OCR" Version="22.9.0" />
                    
Directory.Packages.props
<PackageReference Include="Aspose.OCR" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Aspose.OCR --version 22.9.0
                    
#r "nuget: Aspose.OCR, 22.9.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Aspose.OCR@22.9.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Aspose.OCR&version=22.9.0
                    
Install as a Cake Addin
#tool nuget:?package=Aspose.OCR&version=22.9.0
                    
Install as a Cake Tool

Receipt Text Recognition via OCR .NET API

Version 22.9.0 Nuget

banner

Product Page | Docs | Demos | API Reference | Examples | Blog | Search | Free Support | Temporary License

It is a standalone OCR API that enhances your .NET apps to perform the OCR operation on JPEG, PNG, GIF, BMP & TIFF images for extraction of English, French, Spanish & Portuguese content.

Aspose.OCR for .NET not only provides the Optical Character Recognition engine but more. You can also apply Blur, Gaussian Blur, and Median filter to reduce noise before document recognition and can set the OcrEngine to ignore non-textual blocks, maintain correct text order during document text recognition & automatically correct spellings of the document text.

Image OCR API Features

  • Programmatically detect, identify and read characters from images.
  • Support English, French, Spanish and Portuguese text.
  • Detect and read popular font faces such as Arial, Times New Roman, Courier New, Tahoma, Calibri & Verdana.
  • Supports regular, bold, and italic font styles.
  • Scan the whole image or only a specific portion of the image.
  • Scan rotated images.
  • Application of various noise removal filters to assist image recognition.

What's new in v22.9.0

Receipt Text Recognition via OCR

Introduced a specialized method RecognizeReceipt that is used to extract text specifically from printed receipts.

Aspose.OCR.AsposeOcr recognitionEngine = new Aspose.OCR.AsposeOcr();
Aspose.OCR.ReceiptRecognitionSettings recognitionSettings = new Aspose.OCR.ReceiptRecognitionSettings();
recognitionSettings.Language = Aspose.OCR.Language.Ukr;
Aspose.OCR.RecognitionResult result = recognitionEngine.RecognizeReceipt("receipt.png", recognitionSettings);
Console.WriteLine(result.RecognitionText);

Small Fonts Recognition

Introduced a new image detection setting, UpscaleSmallFont, that enhances the recognition accuracy of small fonts and lines.

Aspose.OCR.AsposeOcr recognitionEngine = new Aspose.OCR.AsposeOcr();
Aspose.OCR.RecognitionSettings recognitionSettings = new Aspose.OCR.RecognitionSettings();
recognitionSettings.UpscaleSmallFont = true;
Aspose.OCR.RecognitionResult result = recognitionEngine.RecognizeImage("source.png", recognitionSettings);
Console.WriteLine(result.RecognitionText);

Cyrillic Characters Recognition

Improved the image recognition via OCR by adding the ability to recognize all Cyrillic characters.

Aspose.OCR.AsposeOcr recognitionEngine = new Aspose.OCR.AsposeOcr();
Aspose.OCR.RecognitionSettings recognitionSettings = new Aspose.OCR.RecognitionSettings();
recognitionSettings.Language = Aspose.OCR.Language.Cyrillic;
Aspose.OCR.RecognitionResult result = recognitionEngine.RecognizeImage("source.png", recognitionSettings);
Console.WriteLine(result.RecognitionText);

Batch Image Recognition & Conversion

Added the ability to recognize all images from a specific folder via OCR API and save then all as PDF pages.

Aspose.OCR.AsposeOcr recognitionEngine = new Aspose.OCR.AsposeOcr();
Aspose.OCR.RecognitionSettings recognitionSettings = new Aspose.OCR.RecognitionSettings();
// Recognize all images from the folder
List<Aspose.OCR.RecognitionResult> results = recognitionEngine.RecognizeMultipleImages("C:/images/", recognitionSettings);
// Save all pages as PDF
Aspose.OCR.AsposeOcr.SaveMultipageDocument("result.pdf", Aspose.OCR.SaveFormat.Pdf, results);

For a complete list of features, enhancements, and bug fixes in this release please visit, Aspose.OCR for .NET 22.9 - Release Notes.

Read Image Formats for OCR

Raster Formats: JPEG, PNG, GIF, BMP, TIFF

Platform Independence

You can use Aspose.OCR for .NET to develop applications in any development environment that targets the .NET Framework 2.0 and higher. This includes support for Mono and Client Profiles.

Get Started with Aspose.OCR for .NET

Are you ready to give Aspose.OCR for .NET a try? Simply execute Install-Package Aspose.OCR from Package Manager Console in Visual Studio to fetch the NuGet package. If you already have Aspose.OCR for .NET and want to upgrade the version, please execute Update-Package Aspose.OCR to get the latest version.

Execute the following code snippet to see how Aspose.OCR API performs with your own samples or simply check the GitHub Repository for other common usage scenarios.

Perform OCR on PNG Image via C# Code

// The path to the documents directory.
string dataDir = RunExamples.GetDataDir_OCR();

// Initialize an instance of AsposeOcr
AsposeOcr api = new AsposeOcr();

// Recognize image
string result = api.RecognizeImage(dataDir + "sample.png");

// Display the recognized text
Console.WriteLine(result);

Product Page | Docs | Demos | API Reference | Examples | Blog | Search | Free Support | Temporary License

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on Aspose.OCR:

Package Downloads
Aspose.Total

Aspose.Total for .NET is the most complete package of all .NET file format APIs offered by Aspose. It empowers developers to create, edit, render, print and convert between a wide range of popular document formats within any .NET, C#, ASP.NET and VB.NET applications.

NovaQual.DocumentConversionLib

This contains all the document conversions functionality e.g word to pdf, exce to pdf etc

Manager_Financial

Manage account between friends

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
26.1.0 695 1/28/2026
25.11.0 6,486 11/18/2025
25.9.1 10,783 9/25/2025
25.9.0 3,682 9/12/2025
25.8.0 10,788 8/29/2025
25.7.0 13,496 7/13/2025
25.6.0 7,484 6/13/2025
25.5.0 9,039 5/21/2025
25.4.0 16,509 4/8/2025
25.3.0 9,520 3/26/2025
25.2.0 22,148 2/27/2025
25.1.0 15,225 1/21/2025
24.12.0 23,945 12/5/2024
24.11.1 19,876 11/21/2024
24.11.0 4,615 11/6/2024
24.10.0 16,885 10/21/2024
24.9.0 12,752 9/28/2024
24.8.1 24,650 8/24/2024
24.8.0 8,807 8/5/2024
24.7.0 19,853 7/17/2024
24.6.0 16,894 6/14/2024
24.5.0 12,753 5/29/2024
24.4.2 18,616 5/1/2024
24.4.1 12,458 4/23/2024
24.4.0 4,120 4/15/2024
24.3.1 13,037 3/21/2024
24.3.0 20,134 3/15/2024
24.2.0 31,052 2/27/2024
24.1.0 54,892 1/18/2024
23.12.1 32,281 12/21/2023
23.12.0 11,461 12/4/2023
23.10.1 51,143 10/24/2023
23.10.0 13,265 10/10/2023
23.9.0 51,410 9/14/2023
23.8.1 37,457 8/31/2023
23.7.1 30,665 7/25/2023
23.7.0 14,785 7/11/2023
23.6.0 55,229 6/20/2023
23.5.0 29,939 5/19/2023
23.4.0 25,586 4/25/2023
23.3.1 46,945 3/23/2023
23.2.1 60,104 2/27/2023
23.2.0 13,508 2/13/2023
23.1.0 71,708 1/11/2023
22.12.0 31,821 12/14/2022
22.11.1 14,100 11/30/2022
22.11.0 26,217 11/14/2022
22.10.0 18,231 10/31/2022
22.9.0 40,892 9/28/2022
22.8.0 48,927 8/26/2022
22.7.0 23,836 7/22/2022
22.6.0 18,671 7/1/2022
22.5.0 37,658 5/22/2022
22.4.0 33,616 4/20/2022
22.3.0 29,285 3/28/2022
22.2.0 25,745 2/21/2022
22.1.0 32,395 1/27/2022
21.12.0 22,413 12/24/2021
21.11.0 35,668 11/18/2021
21.10.0 21,700 10/19/2021
21.9.0 40,149 9/21/2021
21.8.0 13,076 9/1/2021
21.7.0 59,833 7/29/2021
21.6.1 18,400 7/7/2021
21.6.0 26,833 6/30/2021
21.5.0 32,401 5/26/2021
21.4.0 67,750 4/29/2021
21.3.0 36,127 3/29/2021
21.2.0 22,628 2/25/2021
21.1.2 11,256 2/2/2021
20.12.1 9,584 2/2/2021
20.11.0 22,439 11/26/2020
20.10.0 19,864 10/27/2020
20.9.0 13,009 9/25/2020
20.8.0 15,427 8/27/2020
20.7.0 11,889 8/5/2020
20.6.1 9,155 8/5/2020
20.4.3 9,787 8/6/2020
19.9.3 15,952 2/5/2020
19.9.2 7,391 2/5/2020
19.9.1 15,547 11/20/2019
19.9.0 27,013 10/2/2019
19.8.1 9,357 9/2/2019
19.8.0 7,052 8/28/2019
17.11.0 39,845 11/15/2017
17.6.0 19,243 6/22/2017
17.3.0 6,795 3/17/2017
17.2.0 5,635 2/16/2017
17.1.0 6,393 1/14/2017
16.12.0 6,930 12/17/2016
16.11.0 5,640 11/11/2016
16.10.0 7,186 10/10/2016
3.7.0 5,639 9/2/2016
3.6.0 11,172 6/15/2016
3.5.0 6,128 4/12/2016
3.4.0 5,960 3/2/2016
3.3.0 6,723 2/1/2016
3.2.0 5,446 12/30/2015
3.1.0 6,123 11/23/2015
3.0.0 7,574 10/15/2015
2.9.0 5,960 9/7/2015
2.8.0 22,396 8/5/2015
2.7.0 10,086 6/26/2015
2.6.0 5,951 5/30/2015
2.5.0 5,859 4/30/2015
2.4.0 5,717 3/30/2015
2.3.0 6,145 2/26/2015
2.2.0 6,230 12/31/2014
2.1.0 5,490 10/21/2014
2.0.0 6,250 6/23/2014
1.9.0 5,598 4/3/2014
1.8.0 5,901 11/20/2013
1.6.0 18,114 7/22/2013
1.5.0 5,481 4/4/2013
1.4.0 5,286 12/27/2012
1.3.0 5,413 11/14/2012
1.2.0 5,388 10/19/2012
1.1.0.1 6,983 2/16/2012
1.1.0 5,493 1/24/2012