Uzbek 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 Uzbek.
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.Uzbek
This package contains 102 OCR languages for .NET:
- Uzbek
- UzbekBest
- UzbekFast
- UzbekCyrillic
- UzbekCyrillicBest
- UzbekCyrillicFast
Download
Uzbek Language Pack [O‘zbek]
Installation
The first thing we have to do is install our Uzbek OCR package to your .NET project.
PM> Install-Package IronOCR.Languages.Uzbek
Code Example
This C# code example reads Uzbek text from an Image or PDF document.
// Ensure you have installed the Uzbek language package for IronOCR
// PM> Install-Package IronOcr.Languages.Uzbek
using IronOcr;
namespace UzbekOcrExample
{
class Program
{
static void Main(string[] args)
{
// Initialize the IronTesseract object
var Ocr = new IronTesseract();
// Set the OCR language to Uzbek
Ocr.Language = OcrLanguage.Uzbek;
// Specify the file path of the image or PDF containing Uzbek text
using (var Input = new OcrInput(@"images\Uzbek.png"))
{
// Perform OCR on the input and get the result
var Result = Ocr.Read(Input);
// Extract all recognized text from the result
var AllText = Result.Text;
// Output the recognized text to the console
Console.WriteLine(AllText);
}
}
}
}
// Ensure you have installed the Uzbek language package for IronOCR
// PM> Install-Package IronOcr.Languages.Uzbek
using IronOcr;
namespace UzbekOcrExample
{
class Program
{
static void Main(string[] args)
{
// Initialize the IronTesseract object
var Ocr = new IronTesseract();
// Set the OCR language to Uzbek
Ocr.Language = OcrLanguage.Uzbek;
// Specify the file path of the image or PDF containing Uzbek text
using (var Input = new OcrInput(@"images\Uzbek.png"))
{
// Perform OCR on the input and get the result
var Result = Ocr.Read(Input);
// Extract all recognized text from the result
var AllText = Result.Text;
// Output the recognized text to the console
Console.WriteLine(AllText);
}
}
}
}
' Ensure you have installed the Uzbek language package for IronOCR
' PM> Install-Package IronOcr.Languages.Uzbek
Imports IronOcr
Namespace UzbekOcrExample
Friend Class Program
Shared Sub Main(ByVal args() As String)
' Initialize the IronTesseract object
Dim Ocr = New IronTesseract()
' Set the OCR language to Uzbek
Ocr.Language = OcrLanguage.Uzbek
' Specify the file path of the image or PDF containing Uzbek text
Using Input = New OcrInput("images\Uzbek.png")
' Perform OCR on the input and get the result
Dim Result = Ocr.Read(Input)
' Extract all recognized text from the result
Dim AllText = Result.Text
' Output the recognized text to the console
Console.WriteLine(AllText)
End Using
End Sub
End Class
End Namespace