Ancient Greek OCR in C#
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 for .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.
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
Imports IronOcr
Dim Ocr As New IronTesseract()
' Set the OCR language to Ancient Greek
Ocr.Language = OcrLanguage.AncientGreek
' Load the image or PDF document to extract text from
Using Input As New OcrInput("images\AncientGreek.png")
' Perform OCR to read text from the input
Dim Result = Ocr.Read(Input)
' Retrieve the text found in the image
Dim AllText = Result.Text
' Display the extracted text
Console.WriteLine(AllText)
End Using
Curtis Chau tiene una licenciatura en Ciencias de la Computación (Carleton University) y se especializa en el desarrollo front-end con experiencia en Node.js, TypeScript, JavaScript y React. Apasionado por crear interfaces de usuario intuitivas y estéticamente agradables, disfruta trabajando con frameworks modernos y creando manuales bien estructurados y visualmente atractivos.