Read Scanned Document
This code example demonstrates how to use the IronTesseract OCR (Optical Character Recognition) engine to extract text from an image.
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);Install-Package IronOcr
This code example demonstrates how to use the IronTesseract OCR (Optical Character Recognition) engine to extract text from an image.