Ancient Greek OCR in C
IronOCR, .NET yazılımcılarının resimlerden ve PDF belgelerinden metin okumalarını sağlayan bir C# yazılım bileşenidir ve Antik Yunan dahil 126 dili destekler.
Tesseract'ın ileri düzey bir çatallamasıdır, yalnızca .NET geliştiricileri için oluşturulmuş olup hız ve doğruluk açısından diğer Tesseract motorlarını düzenli olarak geride bırakmaktadır.
IronOcr.Languages.AncientGreek İçeriği
Bu paket, .NET için 61 OCR dili içerir:
- AntikYunan
- AntikYunanBest
- AntikYunanFast
İndirme
Antik Yunan Dil Paketi [Ἑλληνική]
Kurulum
Yapmamız gereken ilk şey, Antik Yunan OCR paketimizi .NET projenize yüklemektir.
Install-Package IronOcr.Languages.AncientGreek
Kod Örneği
Bu C# kod örneği, bir resim veya PDF belgesinden Antik Yunan metin okur.
// 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

