XDoc.PDF.OCR 12.3.5.16

dotnet add package XDoc.PDF.OCR --version 12.3.5.16
                    
NuGet\Install-Package XDoc.PDF.OCR -Version 12.3.5.16
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="XDoc.PDF.OCR" Version="12.3.5.16" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="XDoc.PDF.OCR" Version="12.3.5.16" />
                    
Directory.Packages.props
<PackageReference Include="XDoc.PDF.OCR" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add XDoc.PDF.OCR --version 12.3.5.16
                    
#r "nuget: XDoc.PDF.OCR, 12.3.5.16"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package XDoc.PDF.OCR@12.3.5.16
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=XDoc.PDF.OCR&version=12.3.5.16
                    
Install as a Cake Addin
#tool nuget:?package=XDoc.PDF.OCR&version=12.3.5.16
                    
Install as a Cake Tool

XDoc.PDF with OCR add-in is a C# Optical Character Recognition library to read, extract text contents from images, scanned PDFs, multi-page TIFF files in .NET projects.

XDoc.PDF with OCR add-in from RasterEdge is an advanced OCR library :

  • Allow characters recognition and extraction from images captured by digital camera, scanned PDF document and image-only PDF
  • Support multiple languages, including English, French, German, Portuguese, Spanish, Russian, Italian, Dutch, Arabic, Korean, etc
  • Support user-defined image and document OCR, like full-page, auto and manual zonal OCR recognition
  • Able to read QR Code, barcode data from PDF, Tiff and image files

Compatible with

  • .NET Standard 2.0
  • .NET 8, .NET 7, .NET 6, .NET 5, .NET Core 3.x & 2.x
  • .NET Framework 4.x
  • Windows, Mac, Linux, Docker, Azure

Get to Start

Once installed the package, you can use the following C# code to scan, extract text content from images in C# application

// Set the training data path. Please put eng.traineddata (for English) under the directory you specified.
OCRHandler.SetTrainResourcePath(@"c:\source\");
//Load an image.
Bitmap img = new Bitmap(@"C:\page.jpeg");

// Recognize  characters from this image. Default language is English.
OCRPage ocrPage = OCRHandler.Import(img);
ocrPage.Recognize();

Console.WriteLine(ocrPage.GetText());

Support & Documents

High quality and easy to use library.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

NuGet packages (1.1K)

Showing the top 5 NuGet packages that depend on XDoc.PDF.OCR:

Package Downloads
XImage.OCR

XImage.OCR is a C# Optical Character Recognition library to read, extract text contents from images, scanned PDFs, multi-page TIFF files in .NET projects. XImage.OCR from RasterEdge is an advanced OCR library : * Allow characters recognition and extraction from images captured by digital camera, scanned PDF document and image-only PDF * Support multiple languages, including English, French, German, Portuguese, Spanish, Russian, Italian, Dutch, Arabic, Korean, etc * Support user-defined image and document OCR, like full-page, auto and manual zonal OCR recognition * Able to read QR Code, barcode data Compatible with * .NET Standard 2.0 * .NET 8, .NET 7, .NET 6, .NET 5, .NET Core 3.x & 2.x * .NET Framework 4.x * Windows, MacOS, Linux, Docker, Azure Online Documents * C# How to Guide : http://www.rasteredge.com/how-to/csharp-imaging/ocr-sdk/ * Email : support@rasteredge.com

KeepAutomation.OCR

KeepAutomation.Ocr is a C# OCR (Optical Character Recognition) library to scan, read text content from TIFF, PDF, raster image files in your .NET projects. KeepAutomation.Ocr is an advanced OCR SDK : * Tesseract OCR engine to read, export image, multi-page TIFF, PDFs to editable text message * Allow characters recognition and extraction from images captured by digital camera, scanned PDF document and image-only PDF * Support multiple languages with special trained data, including English, German, Chinese, French, Spanish, Russian, Arabic, Korean, Japanese etc * Able to read, recognize QR Code, Data Matrix, Code 128, UPC/EAN and other 20+ barcode data message Compatible with * .NET Standard 2.0 * .NET 9, 8, 7, 6, 5, .NET Core 3.x & 2.x * .NET Framework 4.6.1 Information * Email : support@keepautomation.com

KA.Barcode.Generator.PDF

KA.Barcode Generator for .NET is a C# library to create QR Code, Code 128, GS1, EAN/UPC and other barcode formats on PDF file in ASP.NET Core, Windows Forms, WPF web and desktop application. Supported barcode formats : * QR Code (+GS1, Micro, Macro), Data Matrix (+GS1), PDF-417 * Code 39, Code 128, GS1-128 * EAN 8, EAN 13, UPC-A, UPC-E, +2, +5 * Interleaved 2 of 5, ITF-14 * Postal : Intelligent Mail, Identcode, PLANET, POSTNET, Leitcode, RM4SCC Guides: * How to Guide : https://www.keepautomation.com/guide/csharp_barcode_generator.html * Tutorial - ASP.NET Core : https://www.keepautomation.com/guide/csharp_barcode_generator_aspnet_core.html * Tutorial - Windows Forms : https://www.keepautomation.com/how_to/net_winforms/csharp_barcode.html * Tutorial - WPF : https://www.keepautomation.com/guide/csharp_barcode_generator_wpf.html * Email : support@keepautomation.com

KA.Barcode.Generator.Word

KA.Barcode Generator for .NET is a C# library to create QR Code, Code 128, GS1, EAN/UPC and other barcode formats on Word (docx) file in ASP.NET Core, Windows Forms, WPF web and desktop application. Supported barcode formats : * QR Code (+GS1, Micro, Macro), Data Matrix (+GS1), PDF-417 * Code 39, Code 128, GS1-128 * EAN 8, EAN 13, UPC-A, UPC-E, +2, +5 * Interleaved 2 of 5, ITF-14 * Postal : Intelligent Mail, Identcode, PLANET, POSTNET, Leitcode, RM4SCC Guides: * How to Guide : https://www.keepautomation.com/guide/csharp_barcode_generator.html * Tutorial - ASP.NET Core : https://www.keepautomation.com/guide/csharp_barcode_generator_aspnet_core.html * Tutorial - Windows Forms : https://www.keepautomation.com/how_to/net_winforms/csharp_barcode.html * Tutorial - WPF : https://www.keepautomation.com/guide/csharp_barcode_generator_wpf.html * Email : support@keepautomation.com

KA.Barcode.Generator.Excel

KA.Barcode Generator for .NET is a C# library to create QR Code, Code 128, GS1, EAN/UPC and other barcode formats on Excel (xlsx) file in ASP.NET Core, Windows Forms, WPF web and desktop application. Supported barcode formats : * QR Code (+GS1, Micro, Macro), Data Matrix (+GS1), PDF-417 * Code 39, Code 128, GS1-128 * EAN 8, EAN 13, UPC-A, UPC-E, +2, +5 * Interleaved 2 of 5, ITF-14 * Postal : Intelligent Mail, Identcode, PLANET, POSTNET, Leitcode, RM4SCC Guides: * How to Guide : https://www.keepautomation.com/guide/csharp_barcode_generator.html * Tutorial - ASP.NET Core : https://www.keepautomation.com/guide/csharp_barcode_generator_aspnet_core.html * Tutorial - Windows Forms : https://www.keepautomation.com/how_to/net_winforms/csharp_barcode.html * Tutorial - WPF : https://www.keepautomation.com/guide/csharp_barcode_generator_wpf.html * Email : support@keepautomation.com

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
12.3.5.16 77 1/13/2026
12.3.5.15 81 1/6/2026
12.3.5.14 94 12/30/2025
12.3.5.13 189 12/23/2025
12.3.5.12 280 12/16/2025
12.3.5.11 469 12/9/2025
12.3.5.10 709 12/2/2025
12.3.5.9 230 11/25/2025
12.3.5.8 444 11/18/2025
12.3.5.7 317 11/11/2025
12.3.5.6 245 11/4/2025
12.3.5.5 252 10/28/2025
12.3.5.4 255 10/21/2025
12.3.5.3 255 10/14/2025
12.3.5.2 254 10/7/2025
12.3.5.1 265 9/30/2025
12.3.5 6,476 9/29/2025