C# と .NET でのゾンカ語 OCR
IronOCR は、.NET コーダーがゾンカ語を含む 126 の言語で画像や PDF ドキュメントからテキストを読み取ることを可能にする C# ソフトウェア コンポーネントです。
これはTesseractの高度なフォークであり、.NET開発者専用に構築され、速度と精度の両方で他のTesseractエンジンを定期的に上回ります。
IronOcr.Languages.Dzongkha の内容
このパッケージには、.NET 用の 49 個の OCR 言語が含まれています。
- ゾンカ語
- ゾンカ語ベスト
- ゾンカ語ファースト
ダウンロード
ゾンカ語言語パック
インストール
最初に、 Dzongkha OCR パッケージを .NET プロジェクトにインストールする必要があります。
Install-Package IronOCR.Languages.Dzongkha
Code Example
この C# コード例は、画像または PDF ドキュメントからゾンカ語のテキストを読み取ります。
// Ensure to install the IronOcr.Languages.Dzongkha package before use.
// Usage of IronOCR library for reading Dzongkha text from images or PDFs.
using IronOcr;
var Ocr = new IronTesseract();
// Set the OCR language to Dzongkha
Ocr.Language = OcrLanguage.Dzongkha;
// Specify the path to the input image file
using (var Input = new OcrInput(@"images\Dzongkha.png"))
{
// Reading text from the input file
var Result = Ocr.Read(Input);
// Retrieve all the recognized text
var AllText = Result.Text;
// Output the recognized text
Console.WriteLine(AllText);
}// Ensure to install the IronOcr.Languages.Dzongkha package before use.
// Usage of IronOCR library for reading Dzongkha text from images or PDFs.
using IronOcr;
var Ocr = new IronTesseract();
// Set the OCR language to Dzongkha
Ocr.Language = OcrLanguage.Dzongkha;
// Specify the path to the input image file
using (var Input = new OcrInput(@"images\Dzongkha.png"))
{
// Reading text from the input file
var Result = Ocr.Read(Input);
// Retrieve all the recognized text
var AllText = Result.Text;
// Output the recognized text
Console.WriteLine(AllText);
}' Ensure to install the IronOcr.Languages.Dzongkha package before use.
' Usage of IronOCR library for reading Dzongkha text from images or PDFs.
Imports IronOcr
Private Ocr = New IronTesseract()
' Set the OCR language to Dzongkha
Ocr.Language = OcrLanguage.Dzongkha
' Specify the path to the input image file
Using Input = New OcrInput("images\Dzongkha.png")
' Reading text from the input file
Dim Result = Ocr.Read(Input)
' Retrieve all the recognized text
Dim AllText = Result.Text
' Output the recognized text
Console.WriteLine(AllText)
End Using




