Aspose.OCR
25.2.0
dotnet add package Aspose.OCR --version 25.2.0
NuGet\Install-Package Aspose.OCR -Version 25.2.0
<PackageReference Include="Aspose.OCR" Version="25.2.0" />
paket add Aspose.OCR --version 25.2.0
#r "nuget: Aspose.OCR, 25.2.0"
// Install Aspose.OCR as a Cake Addin #addin nuget:?package=Aspose.OCR&version=25.2.0 // Install Aspose.OCR as a Cake Tool #tool nuget:?package=Aspose.OCR&version=25.2.0
Optical character recognition (OCR) API for .NET
Product Page | Docs | Demos | API Reference | Examples | Blog | Search | Free Support | Temporary License
Integrate optical character recognition (OCR) into your .NET applications, websites, cloud services, or serverless functions written in C#, F# and VB.NET. Transform scanned documents into searchable PDFs, extract text from photos, illustrations, and screenshots, compare text across images, and many more.
Cross-platform
Aspose OCR library works everywhere and is suitable for any task:
- x64 and x86 architectures
- Windows, macOS, Linux, AWS, Azure, Google Cloud, Docker.
- .NET 9, .NET 8, .NET 7, .NET 6, .NET 5, .NET Core, .NET Standard, and .NET Framework.
- Desktop applications, console utilities, services, web sites, microservices, serverless functions.
You would like
Aspose offers one of the most powerful OCR API on the market:
- Universal – extracts text from any image, whether it's a high-quality scan, casual street photo, screenshot, or handwritten note.
- Reliable - delivers exceptional recognition accuracy, outperforming even the most powerful open source libraries such as Tesseract. Easily handles rotated, distorted, blurry or noisy images.
- Developer-friendly - you will only need a few lines of code to perform any OCR task. Choose between optimized, fully automated routines for effortless OCR processing or take full control over recognition, including session management and memory handling.
- Modular – maintains a lean and efficient application by selectively incorporating advanced features from our comprehensive resource repository.
- Multi-language - recognizes text in over 140 languages and seamlessly handles mixed-language content, even when composed of 5–6 different languages.
- Offline - all OCR tasks are performed locally, with no reliance on cloud or third-party services.
Try it yourself
Don't just take our word for it - try it yourself! Install the Aspose.OCR NuGet package and see it in action. With just five lines of C# code, you can convert an image to text:
Aspose.OCR.AsposeOcr recognitionEngine = new Aspose.OCR.AsposeOcr();
Aspose.OCR.OcrInput source = new Aspose.OCR.OcrInput(Aspose.OCR.InputType.SingleImage);
source.Add("your_image.png");
Aspose.OCR.OcrOutput results = recognitionEngine.Recognize(source);
Console.WriteLine(results[0].RecognitionText);
You can download sample projects to explore the advanced capabilities of the Aspose OCR library or visit the product page for live code sample.
Recognition languages
Our OCR library is ideal for global applications and multilingual documents. With support for nearly all languages worldwide, it ensures highly accurate text extraction across various scripts and alphabets. We excel at processing mixed-language documents, even those containing 3+ languages like Japanese, English, and Cyrillic.
- Extended Latin (English, Spanish, Portuguese, French, German and other European languages)
- Cyrillic (Russian, Ukrainian, Bulgarian, and more)
- Arabic, Persian and Urdu
- Chinese
- Hindi and other Devanagari-based scripts
- Korean
- Japanese
- South Asian languages (Tamil, Telugu, Vietnamese, and the like)
Supported file formats
Aspose OCR can handle nearly any file format from scanners or cameras, including:
- JPEG, PNG, BMP, and GIF
- Single-page and multi-page TIFF
- DjVu
All the mentioned file types can be read directly from web links. Additionally, our OCR library enables bulk recognition of images from folders and archives, making large-scale document processing faster and more efficient.
The recognition results are returned in popular file and data exchange formats, enabling easy storage, database import, or real-time analysis:
- Plain text
- Searchable PDF
- Microsoft Word or Excel documents
- HTML
- RTF
- ePUB
- JSON and XML
- hOCR
Image analysis and preprocessing
The Aspose.OCR library features fully automated image preprocessing, enabling it to extract text even in cases where other OCR engines, like Tesseract, fail to produce any results.
- Automatically detects image orientation, handling severely rotated and even upside-down images.
- Detects text background, recognizing inverted images.
- Automatically straightens page curls and corrects lens distortions.
- Removes dirt, spots, scratches, glare, and other noise.
- Automatically detects multi-column text and tables, recognizing and preserving their layout.
Licensing
You can begin using the Aspose OCR library immediately after installation. In evaluation mode (without providing a license), you can recognize text in any supported language and save recognition results in all supported formats, with a few limitations:
- If the number of characters in a recognized image exceeds 300, only the first 300 characters will be recognized.
- If the number of characters is fewer than 300, only the first 60% of the characters will be recognized.
To unlock all features, request a temporary license, which removes all limitations for 30 days. This gives you the opportunity to build a fully functional OCR application and evaluate Aspose.OCR before making your final purchase decision.
Learn more
- Online documentation.
- Real-life use cases.
- Free support forum.
- New feature requests and urgent assistance to ensure the library meets your specific needs.
- Other programming languages.
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. 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. |
.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.20.1)
- System.Text.Encoding.CodePages (>= 7.0.0)
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 |
---|---|---|
25.2.0 | 2,553 | 2/27/2025 |
25.1.0 | 8,506 | 1/21/2025 |
24.12.0 | 12,142 | 12/5/2024 |
24.11.1 | 10,971 | 11/21/2024 |
24.11.0 | 2,160 | 11/6/2024 |
24.10.0 | 11,248 | 10/21/2024 |
24.9.0 | 9,654 | 9/28/2024 |
24.8.1 | 19,799 | 8/24/2024 |
24.8.0 | 5,548 | 8/5/2024 |
24.7.0 | 14,662 | 7/17/2024 |
24.6.0 | 13,136 | 6/14/2024 |
24.5.0 | 8,343 | 5/29/2024 |
24.4.2 | 8,654 | 5/1/2024 |
24.4.1 | 8,977 | 4/23/2024 |
24.4.0 | 1,764 | 4/15/2024 |
24.3.1 | 9,861 | 3/21/2024 |
24.3.0 | 12,258 | 3/15/2024 |
24.2.0 | 19,680 | 2/27/2024 |
24.1.0 | 43,314 | 1/18/2024 |
23.12.1 | 28,262 | 12/21/2023 |
23.12.0 | 8,289 | 12/4/2023 |
23.10.1 | 43,673 | 10/24/2023 |
23.10.0 | 10,864 | 10/10/2023 |
23.9.0 | 39,472 | 9/14/2023 |
23.8.1 | 32,932 | 8/31/2023 |
23.7.1 | 27,640 | 7/25/2023 |
23.7.0 | 12,333 | 7/11/2023 |
23.6.0 | 49,404 | 6/20/2023 |
23.5.0 | 24,434 | 5/19/2023 |
23.4.0 | 22,014 | 4/25/2023 |
23.3.1 | 43,447 | 3/23/2023 |
23.2.1 | 56,017 | 2/27/2023 |
23.2.0 | 11,029 | 2/13/2023 |
23.1.0 | 61,130 | 1/11/2023 |
22.12.0 | 27,602 | 12/14/2022 |
22.11.1 | 11,512 | 11/30/2022 |
22.11.0 | 23,173 | 11/14/2022 |
22.10.0 | 12,919 | 10/31/2022 |
22.9.0 | 36,516 | 9/28/2022 |
22.8.0 | 44,984 | 8/26/2022 |
22.7.0 | 20,835 | 7/22/2022 |
22.6.0 | 15,165 | 7/1/2022 |
22.5.0 | 34,127 | 5/22/2022 |
22.4.0 | 27,507 | 4/20/2022 |
22.3.0 | 26,587 | 3/28/2022 |
22.2.0 | 22,960 | 2/21/2022 |
22.1.0 | 29,059 | 1/27/2022 |
21.12.0 | 19,295 | 12/24/2021 |
21.11.0 | 32,316 | 11/18/2021 |
21.10.0 | 18,786 | 10/19/2021 |
21.9.0 | 37,326 | 9/21/2021 |
21.8.0 | 10,430 | 9/1/2021 |
21.7.0 | 55,697 | 7/29/2021 |
21.6.1 | 15,943 | 7/7/2021 |
21.6.0 | 23,910 | 6/30/2021 |
21.5.0 | 28,890 | 5/26/2021 |
21.4.0 | 65,314 | 4/29/2021 |
21.3.0 | 32,989 | 3/29/2021 |
21.2.0 | 19,847 | 2/25/2021 |
21.1.2 | 8,813 | 2/2/2021 |
20.12.1 | 7,112 | 2/2/2021 |
20.11.0 | 19,904 | 11/26/2020 |
20.10.0 | 17,055 | 10/27/2020 |
20.9.0 | 10,318 | 9/25/2020 |
20.8.0 | 12,909 | 8/27/2020 |
20.7.0 | 9,367 | 8/5/2020 |
20.6.1 | 6,705 | 8/5/2020 |
20.4.3 | 7,168 | 8/6/2020 |
19.9.3 | 10,980 | 2/5/2020 |
19.9.2 | 3,512 | 2/5/2020 |
19.9.1 | 12,221 | 11/20/2019 |
19.9.0 | 22,307 | 10/2/2019 |
19.8.1 | 5,473 | 9/2/2019 |
19.8.0 | 4,613 | 8/28/2019 |
17.11.0 | 26,090 | 11/15/2017 |
17.6.0 | 16,216 | 6/22/2017 |
17.3.0 | 4,217 | 3/17/2017 |
17.2.0 | 3,059 | 2/16/2017 |
17.1.0 | 3,817 | 1/14/2017 |
16.12.0 | 4,317 | 12/17/2016 |
16.11.0 | 3,049 | 11/11/2016 |
16.10.0 | 4,591 | 10/10/2016 |
3.7.0 | 3,048 | 9/2/2016 |
3.6.0 | 8,565 | 6/15/2016 |
3.5.0 | 3,534 | 4/12/2016 |
3.4.0 | 3,366 | 3/2/2016 |
3.3.0 | 3,963 | 2/1/2016 |
3.2.0 | 2,847 | 12/30/2015 |
3.1.0 | 3,553 | 11/23/2015 |
3.0.0 | 4,983 | 10/15/2015 |
2.9.0 | 3,364 | 9/7/2015 |
2.8.0 | 19,652 | 8/5/2015 |
2.7.0 | 7,488 | 6/26/2015 |
2.6.0 | 3,221 | 5/30/2015 |
2.5.0 | 3,264 | 4/30/2015 |
2.4.0 | 3,119 | 3/30/2015 |
2.3.0 | 3,550 | 2/26/2015 |
2.2.0 | 3,638 | 12/31/2014 |
2.1.0 | 2,911 | 10/21/2014 |
2.0.0 | 3,565 | 6/23/2014 |
1.9.0 | 2,992 | 4/3/2014 |
1.8.0 | 3,278 | 11/20/2013 |
1.6.0 | 14,779 | 7/22/2013 |
1.5.0 | 2,884 | 4/4/2013 |
1.4.0 | 2,684 | 12/27/2012 |
1.3.0 | 2,814 | 11/14/2012 |
1.2.0 | 2,793 | 10/19/2012 |
1.1.0.1 | 2,938 | 2/16/2012 |
1.1.0 | 2,816 | 1/24/2012 |