Middle English OCR in C# and .NET
IronOCR, .NET kodlayıcılarının 126 dilde, Orta İngilizce dahil olmak üzere, resimlerden ve PDF belgelerinden metin okumasını sağlayan bir C# yazılım bileşenidir.
Bu, .NET geliştiricileri için özel olarak oluşturulmuş Tesseract'ın gelişmiş bir çatısıdır ve hem hız hem de doğruluk açısından diğer Tesseract motorlarını düzenli olarak geride bırakır.
IronOcr.Languages.MiddleEnglish İçeriği
Bu paket, .NET için 64 OCR dilini içerir:
- Orta İngilizce
- Orta İngilizceEnİyi
- Orta İngilizceHızlı
İndir
Orta İngilizce Dil Paketi [English (1100-1500 AD)]
Kurulum
Orta İngilizce OCR paketimizi .NET projenize kurmamız gereken ilk şeydir.
Install-Package IronOcr.Languages.MiddleEnglish
Kod Örneği
Bu C# kod örneği, bir resim veya PDF belgesinden Orta İngilizce metin okur.
// Import the IronOcr namespace
using IronOcr;
class Program
{
static void Main()
{
// Initialize the IronTesseract OCR engine
var Ocr = new IronTesseract();
// Set the language to Middle English
Ocr.Language = OcrLanguage.MiddleEnglish;
// Define the input source as an image file
using (var Input = new OcrInput(@"images\MiddleEnglish.png"))
{
// Perform OCR to read the text from the input
var Result = Ocr.Read(Input);
// Get all the recognized text
var AllText = Result.Text;
// Output the recognized text
Console.WriteLine(AllText);
}
}
}
// Import the IronOcr namespace
using IronOcr;
class Program
{
static void Main()
{
// Initialize the IronTesseract OCR engine
var Ocr = new IronTesseract();
// Set the language to Middle English
Ocr.Language = OcrLanguage.MiddleEnglish;
// Define the input source as an image file
using (var Input = new OcrInput(@"images\MiddleEnglish.png"))
{
// Perform OCR to read the text from the input
var Result = Ocr.Read(Input);
// Get all the recognized text
var AllText = Result.Text;
// Output the recognized text
Console.WriteLine(AllText);
}
}
}
' Import the IronOcr namespace
Imports IronOcr
Friend Class Program
Shared Sub Main()
' Initialize the IronTesseract OCR engine
Dim Ocr = New IronTesseract()
' Set the language to Middle English
Ocr.Language = OcrLanguage.MiddleEnglish
' Define the input source as an image file
Using Input = New OcrInput("images\MiddleEnglish.png")
' Perform OCR to read the text from the input
Dim Result = Ocr.Read(Input)
' Get all the recognized text
Dim AllText = Result.Text
' Output the recognized text
Console.WriteLine(AllText)
End Using
End Sub
End Class
- IronOCR paketine ve uygun dil paketine sahip olduğunuzdan emin olun.
- Bu örnek, OCR motorunu başlatır, Orta İngilizce işleyecek şekilde ayarlar, giriş görüntüsünden metin okur ve tanınan metni çıktılar.

