Frankish OCR in C# and .NET
IronOCR is a C# software component allowing .NET coders to read text from images and PDF documents in 126 languages, including Frankish.
It is an advanced fork of Tesseract, built exclusively for .NET developers and regularly outperforms other Tesseract engines for both speed and accuracy.
Contents of IronOcr.Languages.Frankish
This package contains 49 OCR languages for .NET:
- Frankish
- FrankishBest
- FrankishFast
Download
Frankish Language Pack [Frankish]
Installation
The first thing we have to do is install our Frankish OCR package to your .NET project.
Install-Package IronOCR.Languages.Frankish
Code Example
This C# code example reads Frankish text from an Image or PDF document.
// Ensure you have installed the IronOCR Frankish language package
using IronOcr;
var Ocr = new IronTesseract
{
// Set the OCR language to Frankish
Language = OcrLanguage.Frankish
};
// Create an OCR input from an image or pdf file
using (var Input = new OcrInput(@"images\Frankish.png"))
{
// Perform OCR on the input
var Result = Ocr.Read(Input);
// Extract all text from the OCR result
var AllText = Result.Text;
}
// Ensure you have installed the IronOCR Frankish language package
using IronOcr;
var Ocr = new IronTesseract
{
// Set the OCR language to Frankish
Language = OcrLanguage.Frankish
};
// Create an OCR input from an image or pdf file
using (var Input = new OcrInput(@"images\Frankish.png"))
{
// Perform OCR on the input
var Result = Ocr.Read(Input);
// Extract all text from the OCR result
var AllText = Result.Text;
}
' Ensure you have installed the IronOCR Frankish language package
Imports IronOcr
Private Ocr = New IronTesseract With {.Language = OcrLanguage.Frankish}
' Create an OCR input from an image or pdf file
Using Input = New OcrInput("images\Frankish.png")
' Perform OCR on the input
Dim Result = Ocr.Read(Input)
' Extract all text from the OCR result
Dim AllText = Result.Text
End Using
This example shows how to set up and use IronOCR to read and extract text written in the Frankish language from an image. The IronTesseract
class is instantiated, its language is set, and the Read
method is used to process the image. The text result is then accessible via the Text
property of the result object.