Yiddish OCR in C# and .NET

This article was translated from English: Does it need improvement?
Translated
View the article in English
Bu belgenin diğer versiyonları:

IronOCR, .NET kodlayıcılarının Yidiş de dahil olmak üzere 126 dildeki görüntülerden ve PDF belgelerinden metin okumasına olanak tanıyan bir C# yazılım bileşenidir.

Tesseract'ın ileri düzey bir çatallamasıdır, yalnızca .NET geliştiricileri için oluşturulmuş olup hız ve doğruluk açısından diğer Tesseract motorlarını düzenli olarak geride bırakmaktadır.

IronOcr.Languages.Yiddish'in İçeriği

Bu paket, .NET için 46 OCR dili içerir:

  • Yidiş
  • YidişEn İyi
  • YidişHızlı

İndirme

Yidiş Dil Paketi [יידיש]

Kurulum

İlk yapmamız gereken şey, proje için Yidiş OCR paketimizi kurmaktır.

Install-Package IronOcr.Languages.Yiddish

Kod Örneği

Bu C# kod örneği, bir görüntü veya PDF belgesinden Yidiş metni okur.

// 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