C# と .NET でのエチオピア語アルファベット OCR
IronOCR は、.NET コーダーがエチオピア文字を含む 126 の言語で画像や PDF ドキュメントからテキストを読み取ることを可能にする C# ソフトウェア コンポーネントです。
これはTesseractの高度なフォークであり、.NET開発者専用に構築され、速度と精度の両方で他のTesseractエンジンを定期的に上回ります。
IronOcr.Languages.Ethiopic の内容
このパッケージには、.NET 用の 73 の OCR 言語が含まれています。
- エチオピア語アルファベット
- エチオピア語アルファベットベスト
- エチオピア語アルファベット高速
ダウンロード
エチオピア語アルファベット言語パック[Ge'ez]
インストール
最初に、エチオピア語アルファベットOCR パッケージを .NET プロジェクトにインストールする必要があります。
Install-Package IronOCR.Languages.Ethiopic
Code Example
この 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
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- この例では、OCR 操作を実行するための
IronTesseractのインスタンスを作成します。 OcrLanguage.Ethiopicを使用して言語をエチオピア語に設定します。OcrInputはソース イメージを定義するために使用されます。Readメソッドは OCR を実行し、認識されたテキストを含む結果を返します。- 認識されたテキストは
AllTextに保存され、コンソールに出力されます。





