🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

Syncfusion.Pdf.OCR.Wpf

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Syncfusion.Pdf.OCR.Wpf

The Syncfusion® Essential PDF OCR is a .NET character recognition library that recognizes characters from both images and PDF in any WPF application. Syncfusion® OCRProcessor uses tesseract, one of most accurate OCR engines. Key features: • Converts scanned PDF to searchable PDF. • Converts various image formats such as TIFF, 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. Learn more: https://www.syncfusion.com/pdf-framework/net?utm_source=nuget&utm_medium=listing Documentation: https://help.syncfusion.com/file-formats/pdf/working-with-ocr?utm_source=nuget&utm_medium=listing Support: Incident: https://www.syncfusion.com/support/directtrac/incidents/newincident?utm_source=nuget&utm_medium=listing Forum: https://www.syncfusion.com/forums/aspnetmvc?utm_source=nuget&utm_medium=listing

29.2.4
NuGet
Version published
Maintainers
1
Created
Source

Syncfusion® .NET OCR Library

The Syncfusion® .NET Framework 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.

NET OCR Library

Features overview | Docs | API Reference | Blogs | support | Forums | Feedback

Key Features

System Requirements

Getting Started

Install the Syncfusion.Pdf.OCR.Wpf NuGet package as reference to your WPF application from NuGet.org.

OCR a PDF document programmatically using C#

//Initialize the OCR processor with tesseract binaries folder path
using (OCRProcessor processor = new OCRProcessor(@"TesseractBinaries\Windows"))
{
//Load a PDF document
FileStream stream = new FileStream(@"Input.pdf", FileMode.Open);
PdfLoadedDocument document = new PdfLoadedDocument(stream);

//Set OCR language
processor.Settings.Language = Languages.English;

//Perform OCR with input document and tessdata (Language packs)
 processor.PerformOCR(document, @"tessdata\");

MemoryStream stream = new MemoryStream();

 //Save the document into stream.
 document.Save(stream); 

//If the position is not set to '0' then the PDF will be empty. 
stream.Position = 0;
 
//Close the document. 
document.Close(true); 

//Defining the ContentType for pdf file.
 string contentType = "application/pdf"; 

//Define the file name.
 string fileName = "Output.pdf"; 

//Creates a FileContentResult object by using the file contents, content type, and file name. 
return File(stream, contentType, fileName);
}

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 29,000 customers and more than 1 million users, including large financial institutions, Fortune 500 companies, and global IT consultancies.

Today, we provide 1800+ 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, Flutter, Xamarin, UWP, and JavaScript), and desktop development (WinForms, WPF, WinUI, .NET MAUI, 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

Keywords

syncfusion

FAQs

Package last updated on 14 May 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts