OCR del alfabeto etíope en C# y .NET
IronOCR es un componente de software de C# que permite a los programadores de .NET leer texto de imágenes y documentos PDF en 126 idiomas, incluido el Alfabeto Etíope.
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.Ethiopic
Este paquete contiene 73 idiomas OCR para .NET:
- AlfabetoEtíope
- AlfabetoEtíopeMejor
- AlfabetoEtíopeRápido
Descargar
Paquete de Idioma del Alfabeto Etíope [Ge'ez]
Instalación
Lo primero que tenemos que hacer es instalar nuestro paquete OCR del Alfabeto Etíope en tu proyecto .NET.
Install-Package IronOCR.Languages.Ethiopic
Ejemplo de código
Este ejemplo de código en C# lee texto del Alfabeto Etíope desde una imagen o documento PDF.
// First, ensure the IronOcr.Languages.Ethiopic package is installed
using IronOcr;
public class EthiopicOcrExample
{
public void ReadEthiopicText()
{
// Create an instance of IronTesseract
var Ocr = new IronTesseract();
// Set the language property to Ethiopic
Ocr.Language = OcrLanguage.Ethiopic;
// Define the input image containing Ethiopic text
using (var Input = new OcrInput(@"images\Ethiopic.png"))
{
// Perform OCR to read text from the image
var Result = Ocr.Read(Input);
// Store the recognized text
var AllText = Result.Text;
// Output the recognized text
Console.WriteLine(AllText);
}
}
}// First, ensure the IronOcr.Languages.Ethiopic package is installed
using IronOcr;
public class EthiopicOcrExample
{
public void ReadEthiopicText()
{
// Create an instance of IronTesseract
var Ocr = new IronTesseract();
// Set the language property to Ethiopic
Ocr.Language = OcrLanguage.Ethiopic;
// Define the input image containing Ethiopic text
using (var Input = new OcrInput(@"images\Ethiopic.png"))
{
// Perform OCR to read text from the image
var Result = Ocr.Read(Input);
// Store the recognized text
var AllText = Result.Text;
// Output the recognized text
Console.WriteLine(AllText);
}
}
}- Este ejemplo crea una instancia de
IronTesseractpara realizar operaciones de OCR. - Establece el idioma a Etíope usando
OcrLanguage.Ethiopic. - Se utiliza
OcrInputpara definir la imagen de origen. - El método
Readrealiza el OCR y devuelve un resultado que contiene el texto reconocido. - El texto reconocido se almacena en
AllTexty se imprime en la consola.





