Tatar OCR in C# and .NET
Other versions of this document:
IronOCR is a C# software component allowing .NET coders to read text from images and PDF documents in 126 languages, including Tatar.
It is an advanced fork of Tesseract, built exclusively for .NET developers and regularly outperforms other Tesseract engines in terms of both speed and accuracy.
Contents of IronOcr.Languages.Tatar
This package contains 40 OCR languages for .NET:
- Tatar
- TatarBest
- TatarFast
Download
Tatar Language Pack [татар теле]
Installation
The first thing we have to do is install our Tatar OCR package to your .NET project.
Install-Package IronOCR.Languages.Tatar
Code Example
This C# code example reads Tatar text from an image or PDF document.
// Install the Tatar OCR Language package using NuGet
// PM> Install-Package IronOcr.Languages.Tatar
using IronOcr;
var Ocr = new IronTesseract();
// Set the language to Tatar for OCR processing
Ocr.Language = OcrLanguage.Tatar;
// Define the input source as an image or PDF containing Tatar text
using (var Input = new OcrInput(@"images\Tatar.png"))
{
// Perform OCR to read text from the input image
var Result = Ocr.Read(Input);
// Retrieve the recognized text and store it in a variable
var AllText = Result.Text;
}
// Install the Tatar OCR Language package using NuGet
// PM> Install-Package IronOcr.Languages.Tatar
using IronOcr;
var Ocr = new IronTesseract();
// Set the language to Tatar for OCR processing
Ocr.Language = OcrLanguage.Tatar;
// Define the input source as an image or PDF containing Tatar text
using (var Input = new OcrInput(@"images\Tatar.png"))
{
// Perform OCR to read text from the input image
var Result = Ocr.Read(Input);
// Retrieve the recognized text and store it in a variable
var AllText = Result.Text;
}
' Install the Tatar OCR Language package using NuGet
' PM> Install-Package IronOcr.Languages.Tatar
Imports IronOcr
Private Ocr = New IronTesseract()
' Set the language to Tatar for OCR processing
Ocr.Language = OcrLanguage.Tatar
' Define the input source as an image or PDF containing Tatar text
Using Input = New OcrInput("images\Tatar.png")
' Perform OCR to read text from the input image
Dim Result = Ocr.Read(Input)
' Retrieve the recognized text and store it in a variable
Dim AllText = Result.Text
End Using