Yiddish OCR in C# and .NET
Outras versões deste documento:
O IronOCR é um componente de software C# que permite aos programadores .NET ler texto de imagens e documentos PDF em 126 idiomas, incluindo o iídiche.
Trata-se de uma versão avançada do Tesseract, criada exclusivamente para desenvolvedores .NET e que supera regularmente outros mecanismos do Tesseract em termos de velocidade e precisão.
Conteúdo de IronOcr.Idiomas.Iídiche
Este pacote contém 46 linguagens de OCR for .NET:
- Iídiche
- YiddishBest
- Jejum em iídiche
Baixar
Pacote de idioma iídiche [יידיש]
Instalação
A primeira coisa que precisamos fazer é instalar nosso pacote de OCR para iídiche em seu projeto .NET .
Install-Package IronOcr.Languages.Yiddish
Exemplo de código
Este exemplo de código C# lê texto em iídiche de uma imagem ou 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

