Middle French OCR in C# and .NET
IronOCR, .NET kodlayıcılarının 126 dilde, Orta Fransızca dahil olmak üzere, resimlerden ve PDF belgelerinden metin okumasını sağlayan bir C# yazılım bileşenidir.
Tesseract'ın, yalnızca .NET geliştiricileri için özel olarak oluşturulmuş gelişmiş bir dalıdır ve hız ve doğruluk açısı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 dilini içerir:
- Ortaçağ Fransızcası
- Ortaçağ FransızcasıBest
- Orta FransızcaHızlı
İndir
Orta Fransızca Dil Paketi [Moyen Français]
Kurulum
Orta Fransızca OCR paketimizi .NET projenize kurmamız gereken ilk şeydir.
Install-Package IronOcr.Languages.MiddleFrench
Kod Örneği
Bu C# kod örneği, bir Resim veya PDF belgesinden Orta Fransızca metin okumaktadır.
// 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

