Ancient Greek OCR in C
IronOCR ist eine C# Softwarekomponente, die .NET-Entwicklern ermöglicht, Text aus Bildern und PDF-Dokumenten in 126 Sprachen, einschließlich Altgriechisch, zu lesen.
Es ist eine erweiterte Abspaltung von Tesseract, die exklusiv for .NET-Entwickler entwickelt wurde und regelmäßig andere Tesseract-Engines sowohl in Bezug auf Geschwindigkeit als auch Genauigkeit übertrifft.
Inhalt von IronOcr.Languages.AncientGreek
Dieses Paket enthält 61 OCR-Sprachen for .NET:
- Altgriechisch
- AltgriechischBest
- AltgriechischFast
Download
Altgriechisches Sprachpaket [Ἑλληνική]
Installation
Das erste, was wir tun müssen, ist unser Altgriechisches OCR-Paket in Ihr .NET-Projekt zu installieren.
Install-Package IronOcr.Languages.AncientGreek
Beispielcode
Dieses C# Codebeispiel liest altgriechischen Text aus einem Bild oder PDF-Dokument.
// 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);
}
' To use the IronOCR library, ensure you have the Ancient Greek language pack installed.
' Import the IronOcr namespace
Imports IronOcr
Private 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 Input = 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

