Breton 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 Breton. It is an advanced fork of Tesseract, built exclusively for the .NET developers and regularly outperforms other Tesseract engines for both speed and accuracy.
Contents of IronOcr.Languages.Breton
This package contains 43 OCR languages for .NET:
- Breton
- BretonBest
- BretonFast
Download
Breton Language Pack [brezhoneg]
Installation
The first thing we have to do is install our Breton OCR package to your .NET project.
Install-Package IronOCR.Languages.Breton
Code Example
This C# code example reads Breton text from an Image or PDF document.
// Import the IronOCR namespace
using IronOcr;
class Program
{
static void Main()
{
// Initialize the IronTesseract OCR engine
var Ocr = new IronTesseract();
// Set the OCR language to Breton
Ocr.Language = OcrLanguage.Breton;
// Read text from a Breton image or PDF document
using (var Input = new OcrInput(@"images\Breton.png"))
{
// Perform OCR on the input
var Result = Ocr.Read(Input);
// Extract text from the OCR result
var AllText = Result.Text;
// Output the extracted 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 OCR language to Breton
Ocr.Language = OcrLanguage.Breton;
// Read text from a Breton image or PDF document
using (var Input = new OcrInput(@"images\Breton.png"))
{
// Perform OCR on the input
var Result = Ocr.Read(Input);
// Extract text from the OCR result
var AllText = Result.Text;
// Output the extracted text
Console.WriteLine(AllText);
}
}
}- This example demonstrates how to use the IronOCR library to perform OCR on a Breton text image.
IronTesseractprovides the core OCR functionality.- The
OcrInputis created with the path to the image that contains Breton text. - The
Readmethod processes the input image and extracts text, which is then output to the console.





