IRONSOFTWAREHOME
Using Custom Language Files
using IronOcr;
using System;


var ocrTesseract = new IronTesseract();

ocrTesseract.UseCustomTesseractLanguageFile("custom_tesseract_files/custom.traineddata");

using var ocrInput = new OcrInput();
ocrInput.LoadImage(@"images\image.png");

var ocrResult = ocrTesseract.Read(ocrInput);
Console.WriteLine(ocrResult.Text);
Imports IronOcr
Imports System

Dim ocrTesseract As New IronTesseract()

ocrTesseract.UseCustomTesseractLanguageFile("custom_tesseract_files/custom.traineddata")

Using ocrInput As New OcrInput()
    ocrInput.LoadImage("images\image.png")

    Dim ocrResult = ocrTesseract.Read(ocrInput)
    Console.WriteLine(ocrResult.Text)
End Using
NuGet Download
PM > Install-Package IronOcr
Using Custom Language Files

Using Custom Language Files

Iron Tesseract OCR fully supports custom or downloaded languages and fonts following the Tesseract .traineddata file format standard (version 4 or above). You can find such files commonly on Github.com.

If you wish to train your own custom font support or language pack, we recommend reading our tutorial on creating custom Tesseract language packs.

Explore OCR Multi-Language Support in C# with IronOCR
View on GitHub

Ready to Get Started?

Nuget Downloads 6,236,385Version:2026.9just released

Key in blue circle

Get your free 30-day Trial Key instantly.

Your trial license will be sent to your email address

No limitations. 100% unlocked. No credit card.

bullet_checkedNo credit card or account creation requiredNo limitations. 100% unlocked. No credit card.
  • Logo Aetna
  • Logo NASA
  • Logo GE
  • Logo Porsche
  • Logo USDA
  • Logo Qatar
Join Millions of Engineers who’ve tried IronPDF
Get Your No-Obligation Consult
Complete the form below or email sales@ironsoftware.com
Your details will always be kept confidential.
Trusted by Millions of Engineers Worldwide
Iron Software's customer logos
Get your free 30-day Trial Key instantly.
No credit card or account creation required