Syncfusion.PDF.OCR.NET
20.2.0.43
Prefix Reserved
Install-Package Syncfusion.PDF.OCR.NET -Version 20.2.0.43
dotnet add package Syncfusion.PDF.OCR.NET --version 20.2.0.43
<PackageReference Include="Syncfusion.PDF.OCR.NET" Version="20.2.0.43" />
paket add Syncfusion.PDF.OCR.NET --version 20.2.0.43
#r "nuget: Syncfusion.PDF.OCR.NET, 20.2.0.43"
// Install Syncfusion.PDF.OCR.NET as a Cake Addin
#addin nuget:?package=Syncfusion.PDF.OCR.NET&version=20.2.0.43
// Install Syncfusion.PDF.OCR.NET as a Cake Tool
#tool nuget:?package=Syncfusion.PDF.OCR.NET&version=20.2.0.43
The Syncfusion .NET OCR library is a feature-rich and high-performance library that is used to recognizes characters from both images and PDF. Syncfusion OCRProcessor uses tesseract, one of most accurate OCR engines.
Key Features
- Converts scanned PDF to searchable PDF.
- Converts various image formats such as JPEG, PNG, BMP to searchable PDF.
- Converts image or PDF to text with location.
- Process OCR for the specified region in both PDF and image.
- Supports 60+ languages.
- Recognize text from rotated images and PDF documents.
- Works both in 32-bit and 64-bit environments.
- Thread safe.
Getting Started
Install the Syncfusion.PDF.OCR.NET NuGet package as reference to your .NET Core application from NuGet.org.
OCR a PDF document programmatically using C#
//Initialize the OCR processor by providing the path of tesseract binaries(SyncfusionTesseract.dll and liblept168.dll)
using (OCRProcessor processor = new OCRProcessor(@"TesseractBinaries\"))
{
//Load a PDF document
FileStream stream = new FileStream(@"Input.pdf", FileMode.Open);
//Load a PDF document
PdfLoadedDocument lDoc = new PdfLoadedDocument(stream);
//Set OCR language to process
processor.Settings.Language = Languages.English;
//Process OCR by providing the PDF document and Tesseract data
processor.PerformOCR(lDoc, @"TessData\");
//Save the OCR processed PDF document in the disk
FileStream fileStream = new FileStream("Sample.pdf", FileMode.CreateNew, FileAccess.ReadWrite);
//Save and close the PDF document
lDoc.Save(fileStream);
lDoc.Close(true);
}
Help Resources
- Product page: Syncfusion OCR library
- Documentation: Syncfusion OCR library
Support and feedback
- For queries, reach our Syncfusion support team or post the queries through the community forums.
- Request new feature through Syncfusion feedback portal.
License
This NuGet package is a part of the OPX product line. Any part of the OPX product line may be subject to additional terms, to include GPL or similar licenses. Syncfusion holds no liability and provides no indemnity in any form for any OPX product. If you do not agree to these terms, do not download this NuGet package.
About Syncfusion
Founded in 2001 and headquartered in Research Triangle Park, N.C., Syncfusion has more than 27,000+ customers and more than 1 million users, including large financial institutions, Fortune 500 companies, and global IT consultancies.
Today, we provide 1700+ components and frameworks for web (Blazor, Flutter, ASP.NET Core, ASP.NET MVC, ASP.NET Web Forms, JavaScript, Angular, React, Vue, and jQuery), mobile (.NET MAUI (Preview), Flutter, Xamarin, UWP, and JavaScript), and desktop development (WinForms, WPF, WinUI, .NET MAUI (Preview), Flutter, Xamarin, and UWP). We provide ready-to-deploy enterprise software for dashboards, reports, data integration, and big data processing. Many customers have saved millions in licensing fees by deploying our software.
sales@syncfusion.com | www.syncfusion.com | Toll Free: 1-888-9 DOTNET
Product | Versions |
---|---|
.NET | net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows |
.NET Core | netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1 |
.NET Standard | netstandard2.0 netstandard2.1 |
.NET Framework | net461 net462 net463 net47 net471 net472 net48 |
MonoAndroid | monoandroid |
MonoMac | monomac |
MonoTouch | monotouch |
Tizen | tizen40 tizen60 |
Xamarin.iOS | xamarinios |
Xamarin.Mac | xamarinmac |
Xamarin.TVOS | xamarintvos |
Xamarin.WatchOS | xamarinwatchos |
-
.NETStandard 2.0
- NETStandard.Library (>= 2.0.0)
- SkiaSharp (>= 2.88.0-preview.232)
- System.Reflection.Emit (>= 4.3.0)
-
net6.0
- NETStandard.Library (>= 2.0.0)
- SkiaSharp (>= 2.88.0-preview.232)
- System.Reflection.Emit (>= 4.3.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.