Lithuanian OCR in C# and .NET
Other versions of this document:
IronOCR is a C# software component allowing .NET coders to read text from images and PDF documents in 126 language, including Lithuanian.
It is an advanced fork of Tesseract, built exclusively for the .NET developers and regularly outperforms other Tesseract engines for both speed and accuracy.
Contents of IronOcr.Languages.Lithuanian
This package contains 55 OCR languages for .NET:
- Lithuanian
- LithuanianBest
- LithuanianFast
Download
Lithuanian Language Pack [lietuvių kalba]
Installation
The first thing we have to do is install our Lithuanian OCR package to your .NET project.
PM> Install-Package IronOCR.Languages.Lithuanian
Code Example
This C# code example reads Lithuanian text from an Image or PDF document.
//PM> Install-Package IronOcr.Languages.Lithuanian
using IronOcr;
var Ocr = new IronTesseract();
Ocr.Language = OcrLanguage.Lithuanian;
using (var Input = new OcrInput(@"images\Lithuanian.png"))
{
var Result = Ocr.Read(Input);
var AllText = Result.Text;
}
//PM> Install-Package IronOcr.Languages.Lithuanian
using IronOcr;
var Ocr = new IronTesseract();
Ocr.Language = OcrLanguage.Lithuanian;
using (var Input = new OcrInput(@"images\Lithuanian.png"))
{
var Result = Ocr.Read(Input);
var AllText = Result.Text;
}
'PM> Install-Package IronOcr.Languages.Lithuanian
Imports IronOcr
Private Ocr = New IronTesseract()
Ocr.Language = OcrLanguage.Lithuanian
Using Input = New OcrInput("images\Lithuanian.png")
Dim Result = Ocr.Read(Input)
Dim AllText = Result.Text
End Using