Esperanto OCR in C# and .NET
Otras versiones de este documento:
IronOCR es un componente de software C# que permite a los codificadores .NET leer texto de imágenes y documentos PDF en 126 idiomas, incluido el esperanto.
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.Esperanto
Este paquete contiene 52 idiomas de OCR for .NET:
- Esperanto
- EsperantoBest
- EsperantoFast
Descargar
Paquete de idioma esperanto [Esperanto]
Instalación
La primera cosa que debemos hacer es instalar nuestro paquete Esperanto de OCR en tu proyecto .NET.
Install-Package IronOcr.Languages.Esperanto
Ejemplo de código
Este ejemplo de código C# lee texto en esperanto de una imagen o documento PDF.
// This example demonstrates how to perform OCR on an image file using the IronOCR library with Esperanto language support.
using IronOcr;
var Ocr = new IronTesseract
{
Language = OcrLanguage.Esperanto // Specify the OCR language as Esperanto
};
using (var Input = new OcrInput(@"images\Esperanto.png")) // Load an image from the file path
{
var Result = Ocr.Read(Input); // Perform OCR to read the text from the image
var AllText = Result.Text; // Extract the recognized text from the result
// You can now use AllText for further processing
}
// This example demonstrates how to perform OCR on an image file using the IronOCR library with Esperanto language support.
using IronOcr;
var Ocr = new IronTesseract
{
Language = OcrLanguage.Esperanto // Specify the OCR language as Esperanto
};
using (var Input = new OcrInput(@"images\Esperanto.png")) // Load an image from the file path
{
var Result = Ocr.Read(Input); // Perform OCR to read the text from the image
var AllText = Result.Text; // Extract the recognized text from the result
// You can now use AllText for further processing
}
' This example demonstrates how to perform OCR on an image file using the IronOCR library with Esperanto language support.
Imports IronOcr
Private Ocr = New IronTesseract With {.Language = OcrLanguage.Esperanto}
Using Input = New OcrInput("images\Esperanto.png") ' Load an image from the file path
Dim Result = Ocr.Read(Input) ' Perform OCR to read the text from the image
Dim AllText = Result.Text ' Extract the recognized text from the result
' You can now use AllText for further processing
End Using

