Esperanto OCR in C# and .NET
Inne wersje tego dokumentu:
IronOCR to komponent oprogramowania w C#, który umożliwia programistom .NET odczytywanie tekstu z obrazów i dokumentów PDF w 126 językach, w tym w Esperanto.
Jest to zaawansowany fork Tesseracta, zbudowany wyłącznie dla deweloperów .NET i regularnie przewyższający inne silniki Tesseract pod względem szybkości i dokładności.
Zawartość IronOcr.Languages.Esperanto
Pakiet ten zawiera 52 języki OCR dla .NET:
- Esperanto
- EsperantoBest
- EsperantoFast
Pobieranie
Pakiet językowy Esperanto [Esperanto]
Instalacja
Pierwszą rzeczą, którą musimy zrobić, to zainstalować nasz pakiet OCR Esperanto do twojego projektu .NET.
Install-Package IronOcr.Languages.Esperanto
Przyklad kodu
Ten przykład kodu C# odczytuje tekst w języku Esperanto z obrazu lub dokumentu PDF.
// 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

