OCR javanais en C# et .NET

This article was translated from English: Does it need improvement?
Translated
View the article in English

126 autres langues

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 le javanais.

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.Javanais

Ce package contient 49 langues OCR pour .NET :

  • Javanais
  • JavanaisMeilleur
  • JavanaisFast

Télécharger

Pack de langue javanaise [langue javanaise]

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

Installation

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

Install-Package IronOCR.Languages.Javanese

Exemple de code

Cet exemple de code C# lit du texte javanais à partir d'une image ou d'un document PDF.

// Import the IronOCR namespace to use its OCR functionalities
using IronOcr;

var Ocr = new IronTesseract(); // Create a new instance of the IronTesseract class
Ocr.Language = OcrLanguage.Javanese; // Set the OCR language to Javanese

// Use the OcrInput class to specify the image or PDF document that will be read
using (var Input = new OcrInput(@"images\Javanese.png"))
{
    // Perform OCR on the specified input
    var Result = Ocr.Read(Input);

    // Retrieve all recognized text from the result
    var AllText = Result.Text;
}
// Import the IronOCR namespace to use its OCR functionalities
using IronOcr;

var Ocr = new IronTesseract(); // Create a new instance of the IronTesseract class
Ocr.Language = OcrLanguage.Javanese; // Set the OCR language to Javanese

// Use the OcrInput class to specify the image or PDF document that will be read
using (var Input = new OcrInput(@"images\Javanese.png"))
{
    // Perform OCR on the specified input
    var Result = Ocr.Read(Input);

    // Retrieve all recognized text from the result
    var AllText = Result.Text;
}
' Import the IronOCR namespace to use its OCR functionalities
Imports IronOcr

Private Ocr = New IronTesseract() ' Create a new instance of the IronTesseract class
Ocr.Language = OcrLanguage.Javanese ' Set the OCR language to Javanese

' Use the OcrInput class to specify the image or PDF document that will be read
Using Input = New OcrInput("images\Javanese.png")
	' Perform OCR on the specified input
	Dim Result = Ocr.Read(Input)

	' Retrieve all recognized text from the result
	Dim AllText = Result.Text
End Using
$vbLabelText   $csharpLabel