OCR yiddish en C# et .NET

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

IronOCR est un composant logiciel C# permettant aux développeurs .NET de lire du texte à partir d'images et de documents PDF dans 126 langues, dont le yiddish.

Il s'agit d'une version avancée de Tesseract, conçue exclusivement pour les développeurs .NET et qui surpasse régulièrement les autres moteurs Tesseract en termes de vitesse et de précision.

Contenu de IronOcr.Langues.Yiddish

Ce package contient 46 langues OCR pour .NET :

  • Yiddish
  • YiddishBest
  • YiddishFast

Télécharger

Pack de langue yiddish [Yiddish]

  • Télécharger au format Zip
  • Installer avec NuGet

Installation

La première chose à faire est d'installer notre package OCR yiddish sur votre projet .NET.

Install-Package IronOCR.Languages.Yiddish

Exemple de code

Cet exemple de code C# lit du texte yiddish à partir d'une image ou d'un document 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