Middle French OCR in C# and .NET
IronOCR, .NET yazılımcılarının 126 dilde, Orta Fransızca da dahil olmak üzere, görüntüler ve PDF belgelerinden metin okumasına izin veren bir C# yazılım bileşenidir.
Tesseract'ın geliştirilmiş bir dalıdır, yalnızca .NET geliştiricileri için geliştirilmiştir ve hem hız hem de doğruluk bakımından diğer Tesseract motorlarını düzenli olarak geride bırakır.
IronOcr.Languages.MiddleFrench İçeriği
Bu paket, .NET için 61 OCR dili içerir:
- Orta Fransızca
- Orta Fransızca En İyi
- Orta Fransızca Hızlı
İndirme
Orta Fransızca Dil Paketi [Moyen Français]
Kurulum
İlk yapmamız gereken şey, .NET projenize Orta Fransızca OCR paketimizi kurmaktır.
Install-Package IronOcr.Languages.MiddleFrench
Kod Örneği
Bu C# kod örneği, Orta Fransızca metni bir görüntüden veya PDF belgesinden okur.
// Import the IronOcr namespace
using IronOcr;
var Ocr = new IronTesseract(); // Initialize the OCR engine
Ocr.Language = OcrLanguage.MiddleFrench; // Set the language to MiddleFrench
// Create an OcrInput from the specified image file
using (var Input = new OcrInput(@"images\MiddleFrench.png"))
{
var Result = Ocr.Read(Input); // Perform OCR on the input image
var AllText = Result.Text; // Retrieve the recognized text
// The variable 'AllText' now contains the text extracted from the image
}
// Import the IronOcr namespace
using IronOcr;
var Ocr = new IronTesseract(); // Initialize the OCR engine
Ocr.Language = OcrLanguage.MiddleFrench; // Set the language to MiddleFrench
// Create an OcrInput from the specified image file
using (var Input = new OcrInput(@"images\MiddleFrench.png"))
{
var Result = Ocr.Read(Input); // Perform OCR on the input image
var AllText = Result.Text; // Retrieve the recognized text
// The variable 'AllText' now contains the text extracted from the image
}
' Import the IronOcr namespace
Imports IronOcr
Private Ocr = New IronTesseract() ' Initialize the OCR engine
Ocr.Language = OcrLanguage.MiddleFrench ' Set the language to MiddleFrench
' Create an OcrInput from the specified image file
Using Input = New OcrInput("images\MiddleFrench.png")
Dim Result = Ocr.Read(Input) ' Perform OCR on the input image
Dim AllText = Result.Text ' Retrieve the recognized text
' The variable 'AllText' now contains the text extracted from the image
End Using

