OCR in 1 line of code
using IronOcr;

string imageText = new IronTesseract().Read(@"images\image.png").Text;
Imports IronOcr

Dim imageText As String = New IronTesseract().Read("images\image.png").Text
NuGet Download
PM > Install-Package IronOcr
OCR in 1 line of code

OCR in 1 line of code

IronOCR is unique in its ability to automatically detect and read text from imperfectly scanned images and PDF documents. The IronTesseract class provides the simplest API.

Try other code samples to gain fine-grained control of your C# OCR operations.

IronOCR provides the most advanced build of Tesseract known anywhere, on any platform, with increased speed, accuracy, and a native DLL and API.

Supports Tesseract 3, Tesseract 4, and Tesseract 5 for .NET Framework, Standard, Core, Xamarin, and Mono.

Explore the IronTesseract C# OCR How-To Guide
View on GitHub

Ready to Get Started?

Nuget Downloads 6,279,416Version:2026.10just released