C# と .NET でのウズベク語 OCR

This article was translated from English: Does it need improvement?
Translated
View the article in English
Other versions of this document:

*ウズベク語

IronOCR は、.NET コーダーがウズベク語を含む 126 の言語で画像や PDF ドキュメントからテキストを読み取ることを可能にする C# ソフトウェア コンポーネントです。

これはTesseractの高度なフォークであり、.NET開発者専用に構築され、速度と精度の両方で他のTesseractエンジンを定期的に上回ります。

IronOcr.Languages.Uzbek の内容

このパッケージには、.NET 用の 102 個の OCR 言語が含まれています。

  • ウズベク語
  • ウズベク語ベスト
  • ウズベクファスト
  • ウズベク語キリル文字
  • ウズベク語キリル文字ベスト
  • ウズベク語キリル文字高速

ダウンロード

ウズベク語言語パック[ウズベク語]

  • Zip形式でダウンロード
  • NuGetでインストール

インストール

最初に行うべきことは、.NET プロジェクトに ウズベク OCR パッケージをインストールすることです。

PM> Install-Package IronOCR.Languages.Uzbek

Code Example

この C# コード例は、画像または PDF ドキュメントからウズベク語のテキストを読み取ります。

// Ensure you have installed the Uzbek language package for IronOCR
// PM> Install-Package IronOcr.Languages.Uzbek

using IronOcr;

namespace UzbekOcrExample
{
    class Program
    {
        static void Main(string[] args)
        {
            // Initialize the IronTesseract object
            var Ocr = new IronTesseract();

            // Set the OCR language to Uzbek
            Ocr.Language = OcrLanguage.Uzbek;

            // Specify the file path of the image or PDF containing Uzbek text
            using (var Input = new OcrInput(@"images\Uzbek.png"))
            {
                // Perform OCR on the input and get the result
                var Result = Ocr.Read(Input);

                // Extract all recognized text from the result
                var AllText = Result.Text;

                // Output the recognized text to the console
                Console.WriteLine(AllText);
            }
        }
    }
}
// Ensure you have installed the Uzbek language package for IronOCR
// PM> Install-Package IronOcr.Languages.Uzbek

using IronOcr;

namespace UzbekOcrExample
{
    class Program
    {
        static void Main(string[] args)
        {
            // Initialize the IronTesseract object
            var Ocr = new IronTesseract();

            // Set the OCR language to Uzbek
            Ocr.Language = OcrLanguage.Uzbek;

            // Specify the file path of the image or PDF containing Uzbek text
            using (var Input = new OcrInput(@"images\Uzbek.png"))
            {
                // Perform OCR on the input and get the result
                var Result = Ocr.Read(Input);

                // Extract all recognized text from the result
                var AllText = Result.Text;

                // Output the recognized text to the console
                Console.WriteLine(AllText);
            }
        }
    }
}
$vbLabelText   $csharpLabel