DEV Community

IronSoftware
IronSoftware

Posted on • Originally published at ironsoftware.com

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

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

This package contain 120 OCR languages for .NET:

  • ArmenianAlphabet
  • ArmenianAlphabetBest
  • ArmenianAlphabetFast
  • Armenian
  • ArmenianBest
  • ArmenianFast

Download

Armenian Language Pack [Հայերեն]

Image 1

Installation

The first thing we have to do is install our Armenian OCR package to your .NET project.

PM> Install-Package IronOCR.Languages.Armenian

Code Example

This C# code example reads Armenian text from an Image or PDF document.

C#:

//PM> Install-Package IronOcr.Languages.Armenian
using IronOcr;
var Ocr = new IronTesseract();
Ocr.Language = OcrLanguage.Armenian;
using (var Input = new OcrInput(@"images\Armenian.png"))
{
    var Result = Ocr.Read(Input);
    Var AllText =  Result.Text
}
Enter fullscreen mode Exit fullscreen mode

VB:

'PM> Install-Package IronOcr.Languages.Armenian
Imports IronOcr
Private Ocr = New IronTesseract()
Ocr.Language = OcrLanguage.Armenian
Using Input = New OcrInput("images\Armenian.png")
    Dim Result = Ocr.Read(Input)
    Dim AllText As Var = Result.Text
End Using
Enter fullscreen mode Exit fullscreen mode

Top comments (0)