Yiddish OCR in C# and .NET
Andere Versionen dieses Dokuments:
IronOCR ist eine C#-Softwarekomponente, die es .NET-Programmierern ermöglicht, Text aus Bildern und PDF-Dokumenten in 126 Sprachen, einschließlich Jiddisch, zu lesen.
Es ist eine erweiterte Abspaltung von Tesseract, die exklusiv for .NET-Entwickler entwickelt wurde und regelmäßig andere Tesseract-Engines sowohl in Bezug auf Geschwindigkeit als auch Genauigkeit übertrifft.
Inhalte von IronOcr.Languages.Yiddish
Dieses Paket enthält 46 OCR-Sprachen for .NET:
- Jiddisch
- JiddischBest
- JiddischFast
Download
Jiddisches Sprachpaket [יידיש]
Installation
Das erste, was wir tun müssen, ist unser Jiddisch OCR-Paket in Ihr .NET-Projekt zu installieren.
Install-Package IronOcr.Languages.Yiddish
Beispielcode
Dieses C#-Codebeispiel liest jiddischen Text aus einem Bild oder PDF-Dokument.
// 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

