Ethiopic Alphabet OCR in C# and .NET
IronOCR is a C# software component allowing .NET coders to read text from images and PDF documents in 126 languages, including the Ethiopic Alphabet.
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.Ethiopic
This package contains 73 OCR languages for .NET:
- EthiopicAlphabet
- EthiopicAlphabetBest
- EthiopicAlphabetFast
Download
Ethiopic Alphabet Language Pack [Ge'ez]
Installation
The first thing we have to do is install our Ethiopic Alphabet OCR package to your .NET project.
Install-Package IronOCR.Languages.Ethiopic
Code Example
This C# code example reads Ethiopic Alphabet text from an Image or PDF document.
// First, ensure the IronOcr.Languages.Ethiopic package is installed
using IronOcr;
public class EthiopicOcrExample
{
public void ReadEthiopicText()
{
// Create an instance of IronTesseract
var Ocr = new IronTesseract();
// Set the language property to Ethiopic
Ocr.Language = OcrLanguage.Ethiopic;
// Define the input image containing Ethiopic text
using (var Input = new OcrInput(@"images\Ethiopic.png"))
{
// Perform OCR to read text from the image
var Result = Ocr.Read(Input);
// Store the recognized text
var AllText = Result.Text;
// Output the recognized text
Console.WriteLine(AllText);
}
}
}
// First, ensure the IronOcr.Languages.Ethiopic package is installed
using IronOcr;
public class EthiopicOcrExample
{
public void ReadEthiopicText()
{
// Create an instance of IronTesseract
var Ocr = new IronTesseract();
// Set the language property to Ethiopic
Ocr.Language = OcrLanguage.Ethiopic;
// Define the input image containing Ethiopic text
using (var Input = new OcrInput(@"images\Ethiopic.png"))
{
// Perform OCR to read text from the image
var Result = Ocr.Read(Input);
// Store the recognized text
var AllText = Result.Text;
// Output the recognized text
Console.WriteLine(AllText);
}
}
}
' First, ensure the IronOcr.Languages.Ethiopic package is installed
Imports IronOcr
Public Class EthiopicOcrExample
Public Sub ReadEthiopicText()
' Create an instance of IronTesseract
Dim Ocr = New IronTesseract()
' Set the language property to Ethiopic
Ocr.Language = OcrLanguage.Ethiopic
' Define the input image containing Ethiopic text
Using Input = New OcrInput("images\Ethiopic.png")
' Perform OCR to read text from the image
Dim Result = Ocr.Read(Input)
' Store the recognized text
Dim AllText = Result.Text
' Output the recognized text
Console.WriteLine(AllText)
End Using
End Sub
End Class
- This example creates an instance of
IronTesseract
for performing OCR operations. - It sets the language to Ethiopic using
OcrLanguage.Ethiopic
. - The
OcrInput
is used to define the source image. - The
Read
method performs the OCR and returns a result containing the recognized text. - The recognized text is stored in
AllText
and printed to the console.