OCR javanés en C# y .NET

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

126 idiomas más

IronOCR es un componente de software C# que permite a los programadores de .NET leer texto de imágenes y documentos PDF en 126 idiomas, incluido el javanés.

Es una rama avanzada de Tesseract, construida exclusivamente para desarrolladores de .NET y supera regularmente a otros motores de Tesseract tanto en velocidad como en precisión.

Contenido de IronOcr.Languages.Javanese

Este paquete contiene 49 idiomas OCR para .NET:

  • Javanés
  • JavanésBest
  • JavanésFast

Descargar

Paquete de idioma javanés [basa Jawa]

Instalación

Lo primero que tenemos que hacer es instalar nuestro paquete de OCR javanés en su proyecto .NET.

Install-Package IronOCR.Languages.Javanese

Ejemplo de código

Este ejemplo de código en C# lee texto javanés de una imagen o documento 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