Ethiopic Alphabet OCR in C# and .NET
IronOCR, .NET kodlayıcılarının Etiyopya Alfabesi dahil 126 dilde resimler ve PDF belgeleri üzerinden metin okumasını sağlayan bir C# yazılım bileşenidir.
Tesseract'ın, yalnızca .NET geliştiricileri için özel olarak oluşturulmuş gelişmiş bir dalıdır ve hız ve doğruluk açısından diğer Tesseract motorlarını düzenli olarak geride bırakır.
IronOcr.Languages.Ethiopic İçeriği
Bu paket, .NET için 73 OCR dili içerir:
- Etiyopya Alfabesi
- Etiyopya AlfabesiBest
- Etiyopya AlfabesiFast
İndir
Etiyopya Alfabesi Dil Paketi [Ge'ez]
Kurulum
Yapmamız gereken ilk şey, Etiyopya Alfabesi OCR paketimizi .NET projenize yüklemektir.
Install-Package IronOcr.Languages.Ethiopic
Kod Örneği
Bu C# kod örneği, bir resim veya PDF belgesinden Etiyopya Alfabesi metnini okur.
// 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
- Bu örnek, OCR işlemlerini gerçekleştirmek için
IronTesseractnesnesinin bir örneğini oluşturur. OcrLanguage.Ethiopickullanılarak dil Etiyopya diline ayarlanır.OcrInput, kaynak görüntüyü tanımlamak için kullanılır.Readyöntemi OCR işlemini gerçekleştirir ve tanınan metni içeren bir sonuç döndürür.- Tanınan metin
AllTextiçinde saklanır ve konsola PRINT edilir.

