Esperanto OCR in C# and .NET
Bu belgenin diğer versiyonları:
IronOCR, .NET kodlayıcılarının Esperanto dahil olmak üzere 126 dildeki metinleri görüntülerden ve PDF belgelerinden okumasına olanak tanıyan 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.Esperanto'nun İçeriği
Bu paket, .NET için 52 OCR dili içerir:
- Esperanto
- EsperantoBest
- EsperantoFast
İndirme
Esperanto Dil Paketi [Esperanto]
Kurulum
Yapmamız gereken ilk şey, Esperanto OCR paketimizi .NET projenize yüklemektir.
Install-Package IronOcr.Languages.Esperanto
Kod Örneği
Bu C# kod örneği, bir görüntü veya PDF belgesinden Esperanto metni okur.
// 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

