C# と .NET でのオリヤー語 OCR
Other versions of this document:
IronOCR は、.NET コーダーがオリヤー語を含む 126 の言語で画像や PDF ドキュメントからテキストを読み取ることを可能にする C# ソフトウェア コンポーネントです。 これはTesseractの高度なフォークであり、.NET開発者専用に構築され、速度と精度の両方で他のTesseractエンジンを定期的に上回ります。
IronOcr.Languages.Oriya の内容
このパッケージには、.NET 用のいくつかの OCR 言語が含まれています。
- オリヤー語
- オリヤーベスト
- オリヤーファスト
- オリヤー文字
- オリヤー語アルファベットベスト
- オリヤー語アルファベット早読み
ダウンロード
オリヤー語言語パック[ଓଡଆ]
インストール
最初に、 Oriya 語OCR パッケージを .NET プロジェクトにインストールする必要があります。
Install-Package IronOCR.Languages.Oriya
Code Example
この C# コード例は、画像または PDF ドキュメントからオリヤー語のテキストを読み取ります。
// This example demonstrates how to use the IronOCR library to perform OCR on an Oriya language image.
using IronOcr;
class Program
{
static void Main()
{
// Instantiate the IronTesseract engine
var Ocr = new IronTesseract();
// Set the OCR language to Oriya
Ocr.Language = OcrLanguage.Oriya;
// Define the input file path for the OCR
using (var Input = new OcrInput(@"images\Oriya.png"))
{
// Perform OCR and obtain the result
var Result = Ocr.Read(Input);
// Extract all recognized text from the result
var AllText = Result.Text;
// Output the recognized text
Console.WriteLine(AllText);
}
}
}// This example demonstrates how to use the IronOCR library to perform OCR on an Oriya language image.
using IronOcr;
class Program
{
static void Main()
{
// Instantiate the IronTesseract engine
var Ocr = new IronTesseract();
// Set the OCR language to Oriya
Ocr.Language = OcrLanguage.Oriya;
// Define the input file path for the OCR
using (var Input = new OcrInput(@"images\Oriya.png"))
{
// Perform OCR and obtain the result
var Result = Ocr.Read(Input);
// Extract all recognized text from the result
var AllText = Result.Text;
// Output the recognized text
Console.WriteLine(AllText);
}
}
}' This example demonstrates how to use the IronOCR library to perform OCR on an Oriya language image.
Imports IronOcr
Friend Class Program
Shared Sub Main()
' Instantiate the IronTesseract engine
Dim Ocr = New IronTesseract()
' Set the OCR language to Oriya
Ocr.Language = OcrLanguage.Oriya
' Define the input file path for the OCR
Using Input = New OcrInput("images\Oriya.png")
' Perform OCR and obtain the result
Dim Result = Ocr.Read(Input)
' Extract all recognized text from the result
Dim AllText = Result.Text
' Output the recognized text
Console.WriteLine(AllText)
End Using
End Sub
End ClassIronTesseractオブジェクトは、OCR を設定および実行するために使用されます。- OCR の言語は、
OcrLanguage.Oriyaを使用してオリヤー語に設定されています。 OcrInput使用すると、テキスト抽出が必要な画像またはドキュメントを指定できます。Read()メソッドは OCR を実行し、認識されたテキストを抽出して利用できる結果を生成します。





