Aspose.OCR
23.4.0
See the version list below for details.
dotnet add package Aspose.OCR --version 23.4.0
NuGet\Install-Package Aspose.OCR -Version 23.4.0
<PackageReference Include="Aspose.OCR" Version="23.4.0" />
paket add Aspose.OCR --version 23.4.0
#r "nuget: Aspose.OCR, 23.4.0"
// Install Aspose.OCR as a Cake Addin #addin nuget:?package=Aspose.OCR&version=23.4.0 // Install Aspose.OCR as a Cake Tool #tool nuget:?package=Aspose.OCR&version=23.4.0
Optical character recognition (OCR) API for .NET
[] (https://releases.aspose.com/ocr/net/)
Product Page | Docs | Demos | API Reference | Examples | Blog | Search | Free Support | Temporary License
This package can be used to develop applications for on-premise operating systems and cloud platforms. You can build both 32-bit and 64-bit software, including ASP.NET, WCF, and WinForms.
Please note: our library implies the use of .NET programming languages, compatible with CLI infrastructure. If you require a corresponding native library for C++, you can download it from here.
API overview
Aspose.OCR for .NET can extract text from photos, scans, PDF documents and other graphical files. It allows you to add OCR functionality to a desktop or web application in less than 10 lines of code, without having to delve into complex mathematical operations, neural networks, and other technical details.
- Ready-to-use OCR engine with superior recognition speed and accuracy.
- Supports 27 languages based on Latin, Cyrillic and Asian scrips.
- Can work with rotated, distorted and noisy images.
- Supports most file formats you can get from a scanner or camera, as well as web links.
- Batch recognition of all images in a folder or archive.
- Recognizes the whole image or selected areas only; identifies words, lines or paragraphs.
- Recognition results are returned in the most popular document and data exchange formats.
- Spell checking of recognition results.
- Full compatibility with other Aspose products - build solutions of any complexity using familiar concepts with minimal code.
Recognition languages
Aspose.OCR can recognize a large number of languages and all popular writing scripts, including texts with mixed languages.
Extended Latin alphabet
- Croatian
- Czech
- Danish
- Dutch
- English
- Estonian
- Finnish
- French
- German
- Italian
- Latvian
- Lithuanian
- Norwegian
- Polish
- Portuguese
- Romanian
- Slovak
- Slovenian
- Spanish
- Swedish
Cyrillic alphabet
- Belorussian
- Bulgarian
- Kazakh
- Russian
- Serbian
- Ukrainian
Asian languages
- Chinese
- Hindi
Supported file formats
Aspose.OCR for .NET can recognize just about any file that you get from a scanner or camera, or download from the Internet:
- JPEG
- PNG
- TIFF
- GIF
- BMP
- DjVu
Recognition results are returned in the most popular document and data exchange formats:
- Plain text
- HTML
- RTF
- Microsoft Word document
- Microsoft Excel spreadsheet
- Searchable PDF
- EPUB
- JSON
- XML
Get started
You can get familiar with Aspose.OCR for .NET by creating a minimal console application for extracting text from an image.
- Create a new C# project in Visual Studio. You can use a very basic project template, such as Console App.
- Install this NuGet package to the project.
- Locate some image containing a line of text and save it to bin\Debug or bin\Debug\net6.0 directory of the project under the name
source.png
. - Create an instance of
Aspose.OCR
recognition engine in yourMain
method:Aspose.OCR.AsposeOcr recognitionEngine = new Aspose.OCR.AsposeOcr();
- Add an image to
OcrInput
object:OcrInput input = new OcrInput(InputType.PNG); input.Add("source.png");
- Extract text from the image:
List<Aspose.OCR.RecognitionResult> results = recognitionEngine.Recognize(input, recognitionSettings);
- Output the recognized text:
Console.WriteLine(results[0].RecognitionText);
Full code:
Aspose.OCR.AsposeOcr recognitionEngine = new Aspose.OCR.AsposeOcr();
OcrInput input = new OcrInput(InputType.PNG);
input.Add("source.png");
List<Aspose.OCR.RecognitionResult> results = recognitionEngine.Recognize(input, recognitionSettings);
Console.WriteLine(results[0].RecognitionText);
Run the program. You will see the extracted text in the console output. If the text is too large, the result may be cut off due to trial restrictions. You can get a temporary license to remove all limitations of the trial version for 30 days.
Learn more
Product | Versions 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. |
.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. |
-
.NETStandard 2.0
- Microsoft.ML.OnnxRuntime (>= 1.13.1)
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 |
---|---|---|
24.11.1 | 758 | 11/21/2024 |
24.11.0 | 1,388 | 11/6/2024 |
24.10.0 | 6,724 | 10/21/2024 |
24.9.0 | 7,296 | 9/28/2024 |
24.8.1 | 12,481 | 8/24/2024 |
24.8.0 | 4,080 | 8/5/2024 |
24.7.0 | 9,547 | 7/17/2024 |
24.6.0 | 10,667 | 6/14/2024 |
24.5.0 | 6,938 | 5/29/2024 |
24.4.2 | 5,666 | 5/1/2024 |
24.4.1 | 7,499 | 4/23/2024 |
24.4.0 | 1,696 | 4/15/2024 |
24.3.1 | 9,253 | 3/21/2024 |
24.3.0 | 9,200 | 3/15/2024 |
24.2.0 | 14,760 | 2/27/2024 |
24.1.0 | 31,559 | 1/18/2024 |
23.12.1 | 24,284 | 12/21/2023 |
23.12.0 | 8,014 | 12/4/2023 |
23.10.1 | 37,213 | 10/24/2023 |
23.10.0 | 10,562 | 10/10/2023 |
23.9.0 | 29,615 | 9/14/2023 |
23.8.1 | 30,234 | 8/31/2023 |
23.7.1 | 26,303 | 7/25/2023 |
23.7.0 | 12,282 | 7/11/2023 |
23.6.0 | 43,064 | 6/20/2023 |
23.5.0 | 21,120 | 5/19/2023 |
23.4.0 | 20,307 | 4/25/2023 |
23.3.1 | 42,299 | 3/23/2023 |
23.2.1 | 53,798 | 2/27/2023 |
23.2.0 | 10,912 | 2/13/2023 |
23.1.0 | 48,428 | 1/11/2023 |
22.12.0 | 26,116 | 12/14/2022 |
22.11.1 | 11,376 | 11/30/2022 |
22.11.0 | 21,944 | 11/14/2022 |
22.10.0 | 9,087 | 10/31/2022 |
22.9.0 | 33,037 | 9/28/2022 |
22.8.0 | 42,057 | 8/26/2022 |
22.7.0 | 20,337 | 7/22/2022 |
22.6.0 | 13,683 | 7/1/2022 |
22.5.0 | 32,610 | 5/22/2022 |
22.4.0 | 24,362 | 4/20/2022 |
22.3.0 | 26,220 | 3/28/2022 |
22.2.0 | 21,845 | 2/21/2022 |
22.1.0 | 28,446 | 1/27/2022 |
21.12.0 | 19,147 | 12/24/2021 |
21.11.0 | 30,388 | 11/18/2021 |
21.10.0 | 18,210 | 10/19/2021 |
21.9.0 | 36,330 | 9/21/2021 |
21.8.0 | 10,379 | 9/1/2021 |
21.7.0 | 53,329 | 7/29/2021 |
21.6.1 | 15,863 | 7/7/2021 |
21.6.0 | 23,112 | 6/30/2021 |
21.5.0 | 27,125 | 5/26/2021 |
21.4.0 | 65,237 | 4/29/2021 |
21.3.0 | 31,819 | 3/29/2021 |
21.2.0 | 19,194 | 2/25/2021 |
21.1.2 | 8,745 | 2/2/2021 |
20.12.1 | 7,041 | 2/2/2021 |
20.11.0 | 19,771 | 11/26/2020 |
20.10.0 | 16,080 | 10/27/2020 |
20.9.0 | 10,200 | 9/25/2020 |
20.8.0 | 12,819 | 8/27/2020 |
20.7.0 | 9,327 | 8/5/2020 |
20.6.1 | 6,640 | 8/5/2020 |
20.4.3 | 7,069 | 8/6/2020 |
19.9.3 | 10,308 | 2/5/2020 |
19.9.2 | 3,487 | 2/5/2020 |
19.9.1 | 11,563 | 11/20/2019 |
19.9.0 | 20,166 | 10/2/2019 |
19.8.1 | 5,437 | 9/2/2019 |
19.8.0 | 4,562 | 8/28/2019 |
17.11.0 | 21,935 | 11/15/2017 |
17.6.0 | 15,676 | 6/22/2017 |
17.3.0 | 4,152 | 3/17/2017 |
17.2.0 | 3,003 | 2/16/2017 |
17.1.0 | 3,756 | 1/14/2017 |
16.12.0 | 4,245 | 12/17/2016 |
16.11.0 | 2,958 | 11/11/2016 |
16.10.0 | 4,517 | 10/10/2016 |
3.7.0 | 2,988 | 9/2/2016 |
3.6.0 | 8,500 | 6/15/2016 |
3.5.0 | 3,473 | 4/12/2016 |
3.4.0 | 3,307 | 3/2/2016 |
3.3.0 | 3,878 | 2/1/2016 |
3.2.0 | 2,789 | 12/30/2015 |
3.1.0 | 3,492 | 11/23/2015 |
3.0.0 | 4,923 | 10/15/2015 |
2.9.0 | 3,289 | 9/7/2015 |
2.8.0 | 19,556 | 8/5/2015 |
2.7.0 | 7,422 | 6/26/2015 |
2.6.0 | 3,127 | 5/30/2015 |
2.5.0 | 3,201 | 4/30/2015 |
2.4.0 | 3,054 | 3/30/2015 |
2.3.0 | 3,487 | 2/26/2015 |
2.2.0 | 3,576 | 12/31/2014 |
2.1.0 | 2,856 | 10/21/2014 |
2.0.0 | 3,486 | 6/23/2014 |
1.9.0 | 2,930 | 4/3/2014 |
1.8.0 | 3,221 | 11/20/2013 |
1.6.0 | 14,184 | 7/22/2013 |
1.5.0 | 2,825 | 4/4/2013 |
1.4.0 | 2,625 | 12/27/2012 |
1.3.0 | 2,755 | 11/14/2012 |
1.2.0 | 2,733 | 10/19/2012 |
1.1.0.1 | 2,875 | 2/16/2012 |
1.1.0 | 2,735 | 1/24/2012 |