Aspose.OCR-GPU
23.10.1
dotnet add package Aspose.OCR-GPU --version 23.10.1
NuGet\Install-Package Aspose.OCR-GPU -Version 23.10.1
<PackageReference Include="Aspose.OCR-GPU" Version="23.10.1" />
paket add Aspose.OCR-GPU --version 23.10.1
#r "nuget: Aspose.OCR-GPU, 23.10.1"
// Install Aspose.OCR-GPU as a Cake Addin #addin nuget:?package=Aspose.OCR-GPU&version=23.10.1 // Install Aspose.OCR-GPU as a Cake Tool #tool nuget:?package=Aspose.OCR-GPU&version=23.10.1
Optical character recognition (OCR) API for .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.Gpu (>= 1.15.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
23.10.1 | 5,038 | 10/31/2023 |
23.6.0 | 2,694 | 6/21/2023 |
23.5.0 | 2,542 | 5/29/2023 |
21.6.0 | 4,487 | 6/30/2021 |
21.5.0 | 2,699 | 5/26/2021 |
21.4.0 | 2,983 | 4/29/2021 |
21.3.0 | 3,143 | 3/30/2021 |
21.2.0 | 2,940 | 2/25/2021 |
21.1.2 | 2,561 | 2/2/2021 |
20.12.0 | 2,194 | 12/28/2020 |
20.11.0 | 2,919 | 11/26/2020 |
20.10.0 | 2,564 | 10/27/2020 |
20.9.0 | 2,866 | 9/25/2020 |
20.8.0 | 2,423 | 8/27/2020 |
20.7.0 | 2,131 | 8/5/2020 |