Javanese OCR in C# and .NET
IronOCR is a C# software component allowing .NET coders to read text from images and PDF documents in 126 languages, including Javanese.
It is an advanced fork of Tesseract, built exclusively for .NET developers and regularly outperforms other Tesseract engines for both speed and accuracy.
Contents of IronOcr.Languages.Javanese
This package contains 49 OCR languages for .NET:
- Javanese
- JavaneseBest
- JavaneseFast
Download
Javanese Language Pack [basa Jawa]
Installation
The first thing we have to do is install our Javanese OCR package to your .NET project.
Install-Package IronOCR.Languages.Javanese
Code Example
This C# code example reads Javanese text from an image or PDF document.
// 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