XDoc.PDF.OCR 12.3.5.31

dotnet add package XDoc.PDF.OCR --version 12.3.5.31
                    
NuGet\Install-Package XDoc.PDF.OCR -Version 12.3.5.31
                    
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.31" />
                    
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.31" />
                    
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.31
                    
#r "nuget: XDoc.PDF.OCR, 12.3.5.31"
                    
#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.31
                    
#: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.31
                    
Install as a Cake Addin
#tool nuget:?package=XDoc.PDF.OCR&version=12.3.5.31
                    
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

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

NuGet packages (1.9K)

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.31 86 4/28/2026
12.3.5.30 88 4/21/2026
12.3.5.29 97 4/14/2026
12.3.5.28 108 4/7/2026
12.3.5.27 118 3/31/2026
12.3.5.26 122 3/24/2026
12.3.5.25 131 3/17/2026
12.3.5.24 133 3/10/2026
12.3.5.23 139 3/3/2026
12.3.5.22 147 2/24/2026
12.3.5.21 160 2/17/2026
12.3.5.20 160 2/10/2026
12.3.5.19 168 2/3/2026
12.3.5.18 172 1/27/2026
12.3.5.17 183 1/20/2026
12.3.5.16 195 1/13/2026
12.3.5.15 198 1/6/2026
12.3.5.14 199 12/30/2025
12.3.5.13 301 12/23/2025
12.3.5.12 387 12/16/2025
Loading failed