OCR yiddish en C# y .NET

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

IronOCR es un componente de software C# que permite a los programadores .NET leer texto de imágenes y documentos PDF en 126 idiomas, incluido el yiddish.

Es una rama avanzada de Tesseract, construida exclusivamente para desarrolladores de .NET y supera regularmente a otros motores de Tesseract tanto en velocidad como en precisión.

Contenido de IronOcr.Languages.Yiddish

Este paquete contiene 46 idiomas OCR para .NET:

  • Yiddish
  • YiddishBest
  • YiddishFast

Descargar

Paquete de idioma Yiddish [יידיש]

Instalación

Lo primero que tenemos que hacer es instalar nuestro paquete OCR de Yiddish en tu proyecto .NET.

Install-Package IronOCR.Languages.Yiddish

Ejemplo de código

Este ejemplo de código en C# lee texto en yiddish desde una imagen o documento 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