Ethiopic Alphabet OCR in C# and .NET
IronOCR, Etiyopya Alfabesi dahil olmak üzere 126 dildeki metinleri görüntülerden ve PDF belgelerinden okuma yeteneği sunan bir C# yazılım bileşenidir.
Tesseract'ın ileri düzey bir çatallamasıdır, yalnızca .NET geliştiricileri için oluşturulmuş olup hız ve doğruluk açısından diğer Tesseract motorlarını düzenli olarak geride bırakmaktadır.
IronOcr.Languages.Ethiopic'in İçeriği
Bu paket, .NET için 73 OCR dili içerir:
- EthiopicAlphabet
- EthiopicAlphabetBest
- EthiopicAlphabetFast
İndirme
Etiyopik Alfabe Dil Paketi [Ge'ez]
Kurulum
Yapmamız gereken ilk şey, Etiyopik Alfabe OCR paketini .NET projenize yüklemektir.
Install-Package IronOcr.Languages.Ethiopic
Kod Örneği
Bu C# kod örneği, görüntü veya PDF belgesinden Etiyopik Alfabe metni 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şlemleri gerçekleştirmek için
IronTesseract'in bir örneğini oluşturur. - Dili
OcrLanguage.Ethiopickullanarak Etiyopyaca olarak ayarlar. - Kaynak görüntü tanımlamak için
OcrInputkullanı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çine kaydedilir ve konsola yazdırılır.

