Ethiopic Alphabet OCR in C# and .NET
O IronOCR é um componente de software em C# que permite aos programadores .NET ler texto de imagens e documentos PDF em 126 idiomas, incluindo o alfabeto etíope.
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.Etíope
Este pacote contém 73 linguagens OCR for .NET:
- Alfabeto Etíope
- Alfabeto EtíopeBest
- Alfabeto Etíope Rápido
Baixar
Pacote de idiomas do alfabeto etíope [Ge'ez]
Instalação
A primeira coisa que precisamos fazer é instalar nosso pacote OCR do alfabeto etíope em seu projeto .NET .
Install-Package IronOcr.Languages.Ethiopic
Exemplo de código
Este exemplo de código C# lê o texto do alfabeto etíope a partir de uma imagem ou 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);
}
}
}
' First, ensure the IronOcr.Languages.Ethiopic package is installed
Imports IronOcr
Public Class EthiopicOcrExample
Public Sub ReadEthiopicText()
' Create an instance of IronTesseract
Dim Ocr = New IronTesseract()
' Set the language property to Ethiopic
Ocr.Language = OcrLanguage.Ethiopic
' Define the input image containing Ethiopic text
Using Input = New OcrInput("images\Ethiopic.png")
' Perform OCR to read text from the image
Dim Result = Ocr.Read(Input)
' Store the recognized text
Dim AllText = Result.Text
' Output the recognized text
Console.WriteLine(AllText)
End Using
End Sub
End Class
- Este exemplo cria uma instância de
IronTesseractpara realizar operações de OCR. - Ele define o idioma como Etiópico usando
OcrLanguage.Ethiopic. - O
OcrInputé usado para definir a imagem de origem. - O método
Readrealiza o OCR e retorna um resultado contendo o texto reconhecido. - O texto reconhecido é armazenado em
AllTexte impresso no console.

