Javanese OCR in C# and .NET

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

126 wiecej jeżyków

IronOCR to komponent C#, ktory pozwala programistom .NET na odczytywanie tekstu z obrazów i dokumentów PDF w 126 jezykach, w tym javańskim.

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.

Zawartosc IronOcr.Languages.Javanese

Ten pakiet zawiera 49 języków OCR dla .NET:

  • Javanski
  • JavanskiNajlepszy
  • JavanskiSzybki

Pobieranie

Javanese Language Pack [basa Jawa]

Instalacja

Pierwsza rzeczą, którą musimy zrobić, jest zainstalowanie naszego pakietu OCR Javanski do Twojego projektu .NET.

Install-Package IronOcr.Languages.Javanese

Przyklad kodu

Ten przyklad kodu C# odczytuje tekst javanski z obrazu lub dokumentu 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