Middle French OCR in C# and .NET
IronOCR ist eine C#-Softwarekomponente, die es .NET-Entwicklern ermöglicht, in 126 Sprachen, einschließlich Mittelfranzösisch, Text aus Bildern und PDF-Dokumenten zu lesen.
Es ist eine fortschrittliche Abspaltung von Tesseract, die ausschließlich for .NET-Entwickler gebaut wurde und regelmäßig andere Tesseract-Engines sowohl in Geschwindigkeit als auch Genauigkeit übertrifft.
Inhalt von IronOcr.Languages.MiddleFrench
Dieses Paket enthält 61 OCR-Sprachen for .NET:
- Mittelfranzösisch
- MittelfranzösischBest
- MittelfranzösischSchnell
Download
Mittelfranzösisches Sprachpaket [Moyen Français]
Installation
Das Erste, was wir tun müssen, ist, unser Mittelfranzösisches OCR-Paket in Ihr .NET-Projekt zu installieren.
Install-Package IronOcr.Languages.MiddleFrench
Beispielcode
Dieses C#-Beispiel liest mittelfranzösischen Text aus einem Bild oder PDF-Dokument.
// 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

