Skip to footer content

Document Reading

Accurately extract text and data from invoices and reports with IronOCR and build features faster.

Icon Main related to Document Reading
Document Reading

1

Read Scanned Documents

Accurately digitize physical documents and image-based PDFs into machine-readable text. Perfect for creating searchable archives, automating data entry from paper forms, and making scanned content accessible and indexable. Our engine excels at handling common scan imperfections.

Learn how to:Use Read Scanned Document in C#
using IronOcr;
using System;

// Instantiate OCR engine
var ocr = new IronTesseract();

// Configure OCR engine
using var input = new OcrInput();
input.LoadImage("potter.tiff");

// Perform OCR
OcrResult result = ocr.ReadDocument(input);
Console.WriteLine(result.Text);
C#
2

Read Invoice Documents

Automate your accounts payable workflow by intelligently extracting structured data from invoices. Go beyond simple text extraction to capture key-value pairs like Invoice Number, Due Date, Total Amount, and Vendor Name, even across varied layouts and templates.

Learn how to:Read Complex Table in Document
using IronOcr;

// Instantiate OCR engine
var ocr = new IronTesseract();

// Enable table detection
ocr.Configuration.ReadDataTables = true;
using var input = new OcrPdfInput("sample.pdf");
var result = ocr.Read(input);

// Retrieve the data
var table = result.Tables[0].DataTable;

// Print the retrieved item to the console
Console.WriteLine($"The first item in the table is: {result.Tables[0].DataTable.Rows[0][0]}");
C#
3

Read Photo

Turn smartphone photos and camera images into usable text. Ideal for mobile applications that capture receipts for expense tracking, digitize whiteboard notes, extract information from product labels, or read text from street signs and posters.

Learn how to:Use Read Photo in C#
using IronOcr;

var ocr = new IronTesseract();
using var inputPhoto = new OcrInput();
inputPhoto.LoadImageFrame("ocr.tiff", 0);

// Read photo
OcrPhotoResult result = ocr.ReadPhoto(inputPhoto);

// Extract the text in the first region
string textinregion = result.TextRegions[0].TextInRegion;

// Print the text in the first region 
Console.WriteLine($"Full Scnned Photo Text: {textinregion}");
C#
4

Read Screenshot

Instantly capture and process on-screen text from application windows, user interfaces, or web content. Seamlessly integrate with other applications by reading their UI elements.

Learn how to:Use Read Screenshot in C#
using IronOcr;
using System;
using System.Linq;

// Instantiate OCR engine
var ocr = new IronTesseract();
using var inputScreenshot = new OcrInput();
inputScreenshot.LoadImage("screenshotOCR.png");

// Perform OCR
OcrPhotoResult result = ocr.ReadScreenShot(inputScreenshot);

// Output screenshot information
Console.WriteLine(result.Text);
C#
Ready to Get Started?
Nuget Downloads 5,058,051 | Version: 2025.11 just released