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

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

  • イディッシュ語
  • イディッシュ語ベスト
  • イディッシュファースト

ダウンロード

イディッシュ語言語パック[イディッシュ語]

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

インストール

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

Install-Package IronOCR.Languages.Yiddish

Code Example

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

// Import the IronOcr namespace
using IronOcr;

// Create a new instance of the IronTesseract class, which is responsible for performing OCR
var Ocr = new IronTesseract();

// Specify the language to be Yiddish
Ocr.Language = OcrLanguage.Yiddish;

// Using block ensures that resources are disposed of correctly
using (var Input = new OcrInput(@"images\Yiddish.png")) // Specify the path to your image file
{
    // Perform the OCR operation on the input image
    var Result = Ocr.Read(Input);

    // Retrieve the recognized text
    var AllText = Result.Text;

    // Optionally, you can output or process the `AllText` variable as needed
}
// Import the IronOcr namespace
using IronOcr;

// Create a new instance of the IronTesseract class, which is responsible for performing OCR
var Ocr = new IronTesseract();

// Specify the language to be Yiddish
Ocr.Language = OcrLanguage.Yiddish;

// Using block ensures that resources are disposed of correctly
using (var Input = new OcrInput(@"images\Yiddish.png")) // Specify the path to your image file
{
    // Perform the OCR operation on the input image
    var Result = Ocr.Read(Input);

    // Retrieve the recognized text
    var AllText = Result.Text;

    // Optionally, you can output or process the `AllText` variable as needed
}
' Import the IronOcr namespace
Imports IronOcr

' Create a new instance of the IronTesseract class, which is responsible for performing OCR
Private Ocr = New IronTesseract()

' Specify the language to be Yiddish
Ocr.Language = OcrLanguage.Yiddish

' Using block ensures that resources are disposed of correctly
Using Input = New OcrInput("images\Yiddish.png") ' Specify the path to your image file
	' Perform the OCR operation on the input image
	Dim Result = Ocr.Read(Input)

	' Retrieve the recognized text
	Dim AllText = Result.Text

	' Optionally, you can output or process the `AllText` variable as needed
End Using
$vbLabelText   $csharpLabel