OCR de griego antiguo en C#

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

I26 Más idiomas

IronOCR es un componente de software C# que permite a los programadores .NET leer texto de imágenes y documentos PDF en 126 idiomas, incluido el griego antiguo.

Es una rama avanzada de Tesseract, construida exclusivamente para desarrolladores de .NET y supera regularmente a otros motores de Tesseract tanto en velocidad como en precisión.

Contenido de IronOcr.Languages.AncientGreek

Este paquete contiene 61 idiomas OCR para .NET:

  • AncientGreek
  • AncientGreekBest
  • AncientGreekFast

Descargar

Paquete de idioma griego antiguo [Ἑλληνική]

Instalación

Lo primero que tenemos que hacer es instalar nuestro paquete OCR de griego antiguo en su proyecto .NET.

Install-Package IronOCR.Languages.AncientGreek

Ejemplo de código

Este ejemplo de código C# lee texto en griego antiguo de una imagen o documento PDF.

// 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