Ethiopic Alphabet OCR in C# and .NET
Curtis Chau
Updated: 2026年5月9日
IronOCR是一個C#軟體元件,允許.NET程式設計師從圖片和PDF文件中讀取126種語言的文字,包括埃塞俄比亞字母。
它是 Tesseract 的一個進階分支,專為 .NET 開發者而建構,在速度和準確性方面經常超越其他 Tesseract 引擎。
IronOcr.Languages.Ethiopic的內容
此套件包含73種.NET的OCR語言:
- 埃塞俄比亞字母
- 埃塞俄比亞字母最佳
- 埃塞俄比亞字母快速
下載
埃塞俄比亞字母語言包 [Ge'ez]
安裝
我們要做的第一件事是將我們的埃塞俄比亞字母 OCR套件安裝到您的.NET專案中。
程式範例
這個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);
}
}
}' 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- 此範例建立
IronTesseract的實例以執行OCR操作。 - 它使用
OcrLanguage.Ethiopic設置語言為埃塞俄比亞。 OcrInput用於定義來源圖片。Read方法執行OCR並返回包含識別文字的結果。- 識別的文字儲存在
AllText中並列印到控制台。

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