Ancient Greek OCR in C#

I26 More Languages

IronOCR is a C# software component allowing .NET coders to read text from images and PDF documents in 126 languages, including Ancient Greek.

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

This package contains 61 OCR languages for .NET:

  • AncientGreek
  • AncientGreekBest
  • AncientGreekFast

Download

Ancient Greek Language Pack [Ἑλληνική]

Installation

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

PM> Install-Package IronOCR.Languages.AncientGreek
PM> Install-Package IronOCR.Languages.AncientGreek
SHELL

Code Example

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

// To use the IronOCR library, ensure you have the Ancient Greek language pack installed.
// Import the IronOcr namespace
using IronOcr;

var Ocr = new IronTesseract();

// Set the OCR language to Ancient Greek
Ocr.Language = OcrLanguage.AncientGreek;

// Load the image or PDF document to extract text from
using (var Input = new OcrInput(@"images\AncientGreek.png"))
{
    // Perform OCR to read text from the input
    var Result = Ocr.Read(Input);

    // Retrieve the text found in the image
    var AllText = Result.Text;

    // Display the extracted text
    Console.WriteLine(AllText);
}
// To use the IronOCR library, ensure you have the Ancient Greek language pack installed.
// Import the IronOcr namespace
using IronOcr;

var Ocr = new IronTesseract();

// Set the OCR language to Ancient Greek
Ocr.Language = OcrLanguage.AncientGreek;

// Load the image or PDF document to extract text from
using (var Input = new OcrInput(@"images\AncientGreek.png"))
{
    // Perform OCR to read text from the input
    var Result = Ocr.Read(Input);

    // Retrieve the text found in the image
    var AllText = Result.Text;

    // Display the extracted text
    Console.WriteLine(AllText);
}
$vbLabelText   $csharpLabel