OCR en espéranto en C# et .NET

This article was translated from English: Does it need improvement?
Translated
View the article in English
Other versions of this document:

IronOCR est un composant logiciel C# permettant aux développeurs .NET de lire du texte à partir d'images et de documents PDF dans 126 langues, dont l'espéranto.

Il s'agit d'une version avancée de Tesseract, conçue exclusivement pour les développeurs .NET et qui surpasse régulièrement les autres moteurs Tesseract en termes de vitesse et de précision.

Contenu de IronOcr.Languages.Espéranto

Ce package contient 52 langues OCR pour .NET :

  • Espéranto
  • EspérantoBest
  • EspérantoFast

Télécharger

Pack de langue espéranto [Espéranto]

  • Télécharger au format Zip
  • Installer avec NuGet

Installation

La première chose à faire est d'installer notre package OCR Esperanto sur votre projet .NET.

Install-Package IronOCR.Languages.Esperanto

Exemple de code

Cet exemple de code C# lit du texte en espéranto à partir d'une image ou d'un document 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
$vbLabelText   $csharpLabel