C# と .NET でのグルジア語 OCR
Other versions of this document:
IronOCR は、.NET コーダーがグルジア語を含む 126 の言語で画像や PDF ドキュメントからテキストを読み取ることができる C# ソフトウェア コンポーネントです。
これは、特に.NET開発者向けに構築されたTesseractの高度なフォークであり、速度と精度の両方で他のTesseractエンジンを定期的に上回ります。
IronOcr.Languages.Georgian の内容
このパッケージには、.NET 用の 176 の OCR 言語が含まれています。
- ジョージアンアルファベット
- ジョージア語アルファベットベスト
- ジョージア語アルファベットファスト
- ジョージア語
- ジョージア語ベスト
- ジョージア語ファスト
- 古典ジョージア語
- 古典ジョージア語ベスト
- 古典ジョージア語ファスト
ダウンロード
グルジア語言語パック [グルジア語]
インストール
最初に、.NET プロジェクトにグルジア語OCR パッケージをインストールする必要があります。
Install-Package IronOcr.Languages.Georgian
Code Example
この C# コード例は、IronOCR ライブラリを使用して画像または PDF ドキュメントからグルジア語のテキストを読み取る方法を示しています。
// Ensure that the IronOCR library and the Georgian language pack are installed.
// You can install the package using the following NuGet command:
// PM> Install-Package IronOcr.Languages.Georgian
using IronOcr;
class Program
{
static void Main()
{
// Initialize a new instance of the IronTesseract class
var Ocr = new IronTesseract();
// Set the OCR language to Georgian
Ocr.Language = OcrLanguage.Georgian;
// Use a using statement to manage resources efficiently
using (var Input = new OcrInput(@"images\Georgian.png"))
{
// Read the image and extract text
var Result = Ocr.Read(Input);
// Obtain the recognized text from the OCR result
var AllText = Result.Text;
// Output the recognized text to the console
Console.WriteLine("Recognized Text: " + AllText);
}
}
}// Ensure that the IronOCR library and the Georgian language pack are installed.
// You can install the package using the following NuGet command:
// PM> Install-Package IronOcr.Languages.Georgian
using IronOcr;
class Program
{
static void Main()
{
// Initialize a new instance of the IronTesseract class
var Ocr = new IronTesseract();
// Set the OCR language to Georgian
Ocr.Language = OcrLanguage.Georgian;
// Use a using statement to manage resources efficiently
using (var Input = new OcrInput(@"images\Georgian.png"))
{
// Read the image and extract text
var Result = Ocr.Read(Input);
// Obtain the recognized text from the OCR result
var AllText = Result.Text;
// Output the recognized text to the console
Console.WriteLine("Recognized Text: " + AllText);
}
}
}' Ensure that the IronOCR library and the Georgian language pack are installed.
' You can install the package using the following NuGet command:
' PM> Install-Package IronOcr.Languages.Georgian
Imports IronOcr
Friend Class Program
Shared Sub Main()
' Initialize a new instance of the IronTesseract class
Dim Ocr = New IronTesseract()
' Set the OCR language to Georgian
Ocr.Language = OcrLanguage.Georgian
' Use a using statement to manage resources efficiently
Using Input = New OcrInput("images\Georgian.png")
' Read the image and extract text
Dim Result = Ocr.Read(Input)
' Obtain the recognized text from the OCR result
Dim AllText = Result.Text
' Output the recognized text to the console
Console.WriteLine("Recognized Text: " & AllText)
End Using
End Sub
End Classこのスクリプトは、グルジア語用に構成された OCR エンジンを初期化し、指定された画像ファイルを処理して、抽出されたテキストを出力します。





