Ethiopic Alphabet OCR in C# and .NET

Curtis Chau
Curtis Chau
Updated: 2026年5月9日

另有126種語言

IronOCR是一個C#軟體元件,允許.NET程式設計師從圖片和PDF文件中讀取126種語言的文字,包括埃塞俄比亞字母。

它是 Tesseract 的一個進階分支,專為 .NET 開發者而建構,在速度和準確性方面經常超越其他 Tesseract 引擎。

IronOcr.Languages.Ethiopic的內容

此套件包含73種.NET的OCR語言:

  • 埃塞俄比亞字母
  • 埃塞俄比亞字母最佳
  • 埃塞俄比亞字母快速

下載

埃塞俄比亞字母語言包 [Ge'ez]

安裝

我們要做的第一件事是將我們的埃塞俄比亞字母 OCR套件安裝到您的.NET專案中。

PM > Install-Package IronOcr.Languages.Ethiopic

程式範例

這個C#程式碼範例從圖片或PDF文件中讀取埃塞俄比亞字母文字。

// 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);
        }
    }
}
  • 此範例建立IronTesseract的實例以執行OCR操作。
  • 它使用OcrLanguage.Ethiopic設置語言為埃塞俄比亞。
  • OcrInput用於定義來源圖片。
  • Read方法執行OCR並返回包含識別文字的結果。
  • 識別的文字儲存在AllText中並列印到控制台。

Curtis Chau擁有Carleton大學的電腦科學學士學位,專精於前端開發,擁有Node.js、TypeScript、JavaScript和React的專業知識。Curtis熱衷於建立直觀且美觀的使用者介面,喜愛使用現代框架並建立結構良好、視覺吸引力的手冊。

閱讀更多

準備開始了嗎?

Nuget Downloads 6,357,159版本:2026.11剛剛發布