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

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

  • ウイグル族
  • ウイグルベスト
  • ウイグルファスト

ダウンロード

ウイグル語言語パック[Uyƣurqə]

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

インストール

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

Install-Package IronOCR.Languages.Uyghur

Code Example

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

using IronOcr;

var Ocr = new IronTesseract();
// Set the OCR language to Uyghur. This is necessary to correctly read Uyghur text.
Ocr.Language = OcrLanguage.Uyghur;

// Create an OCR input object from a file. This can be an image or a PDF.
using (var Input = new OcrInput(@"images\Uyghur.png"))
{
    // Perform text recognition on the input data.
    var Result = Ocr.Read(Input);

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

    // Additional processing of AllText can be done here.
}
using IronOcr;

var Ocr = new IronTesseract();
// Set the OCR language to Uyghur. This is necessary to correctly read Uyghur text.
Ocr.Language = OcrLanguage.Uyghur;

// Create an OCR input object from a file. This can be an image or a PDF.
using (var Input = new OcrInput(@"images\Uyghur.png"))
{
    // Perform text recognition on the input data.
    var Result = Ocr.Read(Input);

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

    // Additional processing of AllText can be done here.
}
Imports IronOcr

Private Ocr = New IronTesseract()
' Set the OCR language to Uyghur. This is necessary to correctly read Uyghur text.
Ocr.Language = OcrLanguage.Uyghur

' Create an OCR input object from a file. This can be an image or a PDF.
Using Input = New OcrInput("images\Uyghur.png")
	' Perform text recognition on the input data.
	Dim Result = Ocr.Read(Input)

	' Extract the recognized text from the OCR result.
	Dim AllText = Result.Text

	' Additional processing of AllText can be done here.
End Using
$vbLabelText   $csharpLabel