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
- In diesem Beispiel wird eine Instanz von
IronTesseracterstellt, um OCR-Vorgänge durchzuführen. - Es stellt die Sprache mithilfe von
OcrLanguage.Ethiopicauf Äthiopisch ein. OcrInputwird verwendet, um das Quellbild zu definieren.- Die Methode
Readführt die OCR durch und gibt ein Ergebnis zurück, das den erkannten Text enthält. - Der erkannte Text wird in
AllTextgespeichert und über die Konsole ausgegeben.

