Specialized Reading
Go beyond plain text. Accurately read passports (MRZ), checks (MICR), license plates, and barcodes with dedicated, high-performance tools.
Specialized Reading
Read License Plate
Build robust Automatic Number Plate Recognition (ANPR) systems for automated parking management, security gate access, and vehicle tracking. Our engine is trained to accurately read license plates from various angles, distances, and lighting conditions.
Learn how to:Read License Plates using IronOCRusing IronOcr;
using System;
var ocr = new IronTesseract();
ocr.Configuration.WhiteListCharacters = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_";
using var inputLicensePlate = new OcrInput();
inputLicensePlate.LoadImage("plate.jpeg");
// Read license plate
OcrLicensePlateResult result = ocr.ReadLicensePlate(inputLicensePlate);
// Retrieve license plate number and confidence value
string output = $"{result.Text}\nResult Confidence: {result.Confidence}";
Console.WriteLine(output);Imports IronOcr
Imports System
Dim ocr = New IronTesseract()
ocr.Configuration.WhiteListCharacters = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_"
Using inputLicensePlate = New OcrInput()
inputLicensePlate.LoadImage("plate.jpeg")
' Read license plate
Dim result As OcrLicensePlateResult = ocr.ReadLicensePlate(inputLicensePlate)
' Retrieve license plate number and confidence value
Dim output As String = $"{result.Text}{vbLf}Result Confidence: {result.Confidence}"
Console.WriteLine(output)
End UsingRead Passport
Streamline identity verification and customer onboarding by instantly extracting data from the Machine-Readable Zone (MRZ) of international passports and ID cards. Eliminate manual entry errors and accelerate your check-in or compliance processes.
Learn how to:Use Read Passport in C#using IronOcr;
using System;
// Instantiate OCR engine
var ocr = new IronTesseract();
using var inputPassport = new OcrInput();
inputPassport.LoadImage("passport.jpg");
// Perform OCR
OcrPassportResult result = ocr.ReadPassport(inputPassport);
// Output name and passport number
Console.WriteLine(result.PassportInfo.GivenNames);
Console.WriteLine(result.PassportInfo.PassportNumber);Imports IronOcr
Imports System
' Instantiate OCR engine
Dim ocr = New IronTesseract()
Using inputPassport = New OcrInput()
inputPassport.LoadImage("passport.jpg")
' Perform OCR
Dim result As OcrPassportResult = ocr.ReadPassport(inputPassport)
' Output name and passport number
Console.WriteLine(result.PassportInfo.GivenNames)
Console.WriteLine(result.PassportInfo.PassportNumber)
End UsingMICR Cheque Reading
Reliably read E-13B MICR fonts on checks to automate bank deposit processing and financial workflows. Our specialized engine ensures the highest accuracy for critical data like routing numbers, account numbers, and check amounts.
// Import the IronOCR namespace
using IronOcr;
// Create a new instance of IronTesseract for performing OCR operations
var Ocr = new IronTesseract();
// Set the OCR language to MICR to recognize magnetic ink characters
// Must have MICR (IronOcr.Languages.MICR) installed beforehand
Ocr.Language = OcrLanguage.MICR;
// Specify the file path of the input image containing MICR text
using (var Input = new OcrInput())
{
Input.LoadImage("sampleChequeImage.png");
// Run the OCR engine to read the MICR text from the input image
var Result = Ocr.Read(Input);
// Output the recognized text to the console
Console.WriteLine(Result.Text);
}' Import the IronOCR namespace
Imports IronOcr
' Create a new instance of IronTesseract for performing OCR operations
Dim Ocr = New IronTesseract()
' Set the OCR language to MICR to recognize magnetic ink characters
' Must have MICR (IronOcr.Languages.MICR) installed beforehand
Ocr.Language = OcrLanguage.MICR
' Specify the file path of the input image containing MICR text
Using Input = New OcrInput()
Input.LoadImage("sampleChequeImage.png")
' Run the OCR engine to read the MICR text from the input image
Dim Result = Ocr.Read(Input)
' Output the recognized text to the console
Console.WriteLine(Result.Text)
End UsingRead Barcode and QR code
Detects and decodes all major 1D and 2D barcode formats, including QR Code. A versatile solution for inventory management, logistics tracking, point-of-sale systems, and mobile ticketing applications.
Learn how to:Read Barcodes and QR Codes in .NET C#using IronOcr;
// Instantiate IronTesseract
IronTesseract ocrTesseract = new IronTesseract();
// Enable barcode reading
ocrTesseract.Configuration.ReadBarCodes = true;
// Add PDF
using var imageInput = new OcrPdfInput("pdfWithBarcodes.pdf");
// Perform OCR
OcrResult ocrResult = ocrTesseract.Read(imageInput);
// Output detected barcodes and text values
Console.WriteLine(ocrResult.Text);
Console.WriteLine(ocrResult.Barcodes[0].Value);Imports IronOcr
' Instantiate IronTesseract
Dim ocrTesseract As New IronTesseract()
' Enable barcode reading
ocrTesseract.Configuration.ReadBarCodes = True
' Add PDF
Using imageInput = New OcrPdfInput("pdfWithBarcodes.pdf")
' Perform OCR
Dim ocrResult As OcrResult = ocrTesseract.Read(imageInput)
' Output detected barcodes and text values
Console.WriteLine(ocrResult.Text)
Console.WriteLine(ocrResult.Barcodes(0).Value)
End UsingComputer Vision OCR
Use the power of computer vision to detect text with our advanced trained models. IronOCR utilizes OpenCV to identify areas within an image that contain text, especially helpful for images with a lot of noise and scattered text blocks in documents!
Learn how to:OCR in Computer Vision Tutorial (License, Subtitle, Invoice)using IronOcr;
var ocr = new IronTesseract();
using var input = new OcrInput();
input.LoadImage("sample.png");
// Make sure to also install IronOcr.Extensions.AdvancedScan to use this method
input.FindTextRegion(Scale: 2.0, DilationAmount: 20, Binarize: true, Invert: true);
OcrResult result = ocr.Read(input);
string resultText = result.Text;Imports IronOcr
Dim ocr = New IronTesseract()
Using input = New OcrInput()
input.LoadImage("sample.png")
' Make sure to also install IronOcr.Extensions.AdvancedScan to use this method
input.FindTextRegion(Scale:=2.0, DilationAmount:=20, Binarize:=True, Invert:=True)
Dim result As OcrResult = ocr.Read(input)
Dim resultText As String = result.Text
End UsingExtract text from Handwriting Images
IronOCR can even extract text from handwritten images with ease. Using specialized methods, IronOCR can scan and extract handwritten text from images quickly and efficiently.
Learn how to add headers/footersReady to Get Started?
Nuget Downloads 6,236,385|Version:2026.9just released