Ethiopic Alphabet OCR in C# and .NET
IronOCR ist eine C#-Softwarekomponente, die es .NET-Entwicklern ermöglicht, Text aus Bildern und PDF-Dokumenten in 126 Sprachen, einschließlich des Äthiopischen Alphabets, zu lesen.
Es ist eine erweiterte Abspaltung von Tesseract, die exklusiv for .NET-Entwickler entwickelt wurde und regelmäßig andere Tesseract-Engines sowohl in Bezug auf Geschwindigkeit als auch Genauigkeit übertrifft.
Inhalt von IronOcr.Languages.Ethiopic
Dieses Paket enthält 73 OCR-Sprachen for .NET:
- ÄthiopischesAlphabet
- ÄthiopischesAlphabetAmBesten
- ÄthiopischesAlphabetSchnell
Download
Äthiopisches Alphabet Sprachenpaket [Ge'ez]
Installation
Das erste, was wir tun müssen, ist, unser Äthiopisches Alphabet OCR-Paket in Ihr .NET-Projekt zu installieren.
Install-Package IronOcr.Languages.Ethiopic
Beispielcode
Dieses C#-Codebeispiel liest Text des Äthiopischen Alphabets aus einem Bild oder PDF-Dokument.
// 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
- Dieses Beispiel erstellt eine Instanz von
IronTesseractzur Durchführung von OCR-Operationen. - Es stellt die Sprache auf Äthiopisch ein, indem es
OcrLanguage.Ethiopicverwendet. - Der
OcrInputwird verwendet, um das Quellbild zu definieren. Die MethodeReadführt die OCR durch und gibt ein Ergebnis zurück, das den erkannten Text enthält. Der erkannte Text wird inAllTextgespeichert und auf der Konsole ausgegeben.

