Ethiopic Alphabet OCR in C# and .NET

This article was translated from English: Does it need improvement?
Translated
View the article in English

126 Weitere Sprachen

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]

  • Herunterladen als Zip
  • Installieren mit NuGet

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);
        }
    }
}
$vbLabelText   $csharpLabel
  • Dieses Beispiel erstellt eine Instanz von IronTesseract zur Durchführung von OCR-Operationen.
  • Es stellt die Sprache auf Äthiopisch ein, indem es OcrLanguage.Ethiopic verwendet.
  • Der OcrInput wird verwendet, um das Quellbild zu definieren. Die Methode Read führt die OCR durch und gibt ein Ergebnis zurück, das den erkannten Text enthält. Der erkannte Text wird in AllText gespeichert und auf der Konsole ausgegeben.