Esperanto OCR in C# and .NET
Other versions of this document:
IronOCR is a C# software component allowing .NET coders to read text from images and PDF documents in 126 languages, including Esperanto.
It is an advanced fork of Tesseract, built exclusively for .NET developers and regularly outperforms other Tesseract engines for both speed and accuracy.
Contents of IronOcr.Languages.Esperanto
This package contains 52 OCR languages for .NET:
- Esperanto
- EsperantoBest
- EsperantoFast
Download
Esperanto Language Pack [Esperanto]
Installation
The first thing we have to do is install our Esperanto OCR package to your .NET project.
Install-Package IronOCR.Languages.Esperanto
Code Example
This C# code example reads Esperanto text from an image or PDF document.
// This example demonstrates how to perform OCR on an image file using the IronOCR library with Esperanto language support.
using IronOcr;
var Ocr = new IronTesseract
{
Language = OcrLanguage.Esperanto // Specify the OCR language as Esperanto
};
using (var Input = new OcrInput(@"images\Esperanto.png")) // Load an image from the file path
{
var Result = Ocr.Read(Input); // Perform OCR to read the text from the image
var AllText = Result.Text; // Extract the recognized text from the result
// You can now use AllText for further processing
}
// This example demonstrates how to perform OCR on an image file using the IronOCR library with Esperanto language support.
using IronOcr;
var Ocr = new IronTesseract
{
Language = OcrLanguage.Esperanto // Specify the OCR language as Esperanto
};
using (var Input = new OcrInput(@"images\Esperanto.png")) // Load an image from the file path
{
var Result = Ocr.Read(Input); // Perform OCR to read the text from the image
var AllText = Result.Text; // Extract the recognized text from the result
// You can now use AllText for further processing
}
' This example demonstrates how to perform OCR on an image file using the IronOCR library with Esperanto language support.
Imports IronOcr
Private Ocr = New IronTesseract With {.Language = OcrLanguage.Esperanto}
Using Input = New OcrInput("images\Esperanto.png") ' Load an image from the file path
Dim Result = Ocr.Read(Input) ' Perform OCR to read the text from the image
Dim AllText = Result.Text ' Extract the recognized text from the result
' You can now use AllText for further processing
End Using