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.Tatar の内容

このパッケージには.NET用の40のOCR言語が含まれています:

  • タタール語
  • タタール語ベスト
  • そば断食

ダウンロード

タタール語言語パック[タタール語]

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

インストール

最初に、.NET プロジェクトにTatar OCR パッケージをインストールする必要があります。

Install-Package IronOCR.Languages.Tatar

Code Example

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

// Install the Tatar OCR Language package using NuGet
// PM> Install-Package IronOcr.Languages.Tatar
using IronOcr;

var Ocr = new IronTesseract();
// Set the language to Tatar for OCR processing
Ocr.Language = OcrLanguage.Tatar;

// Define the input source as an image or PDF containing Tatar text
using (var Input = new OcrInput(@"images\Tatar.png"))
{
    // Perform OCR to read text from the input image
    var Result = Ocr.Read(Input);
    // Retrieve the recognized text and store it in a variable
    var AllText = Result.Text;
}
// Install the Tatar OCR Language package using NuGet
// PM> Install-Package IronOcr.Languages.Tatar
using IronOcr;

var Ocr = new IronTesseract();
// Set the language to Tatar for OCR processing
Ocr.Language = OcrLanguage.Tatar;

// Define the input source as an image or PDF containing Tatar text
using (var Input = new OcrInput(@"images\Tatar.png"))
{
    // Perform OCR to read text from the input image
    var Result = Ocr.Read(Input);
    // Retrieve the recognized text and store it in a variable
    var AllText = Result.Text;
}
' Install the Tatar OCR Language package using NuGet
' PM> Install-Package IronOcr.Languages.Tatar
Imports IronOcr

Private Ocr = New IronTesseract()
' Set the language to Tatar for OCR processing
Ocr.Language = OcrLanguage.Tatar

' Define the input source as an image or PDF containing Tatar text
Using Input = New OcrInput("images\Tatar.png")
	' Perform OCR to read text from the input image
	Dim Result = Ocr.Read(Input)
	' Retrieve the recognized text and store it in a variable
	Dim AllText = Result.Text
End Using
$vbLabelText   $csharpLabel