Dzongkha OCR in C# and .NET

126 More Languages

IronOCR is a C# software component allowing .NET coders to read text from images and PDF documents in 126 languages, including Dzongkha.

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.Dzongkha

This package contains 49 OCR languages for .NET:

  • Dzongkha
  • DzongkhaBest
  • DzongkhaFast

Download

Dzongkha Language Pack [རྫོང་ཁ]

Installation

The first thing we have to do is install our Dzongkha OCR package to your .NET project.

Install-Package IronOCR.Languages.Dzongkha

Code Example

This C# code example reads Dzongkha text from an Image or PDF document.

// Ensure to install the IronOcr.Languages.Dzongkha package before use.
// Usage of IronOCR library for reading Dzongkha text from images or PDFs.

using IronOcr;

var Ocr = new IronTesseract();

// Set the OCR language to Dzongkha
Ocr.Language = OcrLanguage.Dzongkha;

// Specify the path to the input image file
using (var Input = new OcrInput(@"images\Dzongkha.png"))
{
    // Reading text from the input file
    var Result = Ocr.Read(Input);

    // Retrieve all the recognized text
    var AllText = Result.Text;

    // Output the recognized text
    Console.WriteLine(AllText);
}
// Ensure to install the IronOcr.Languages.Dzongkha package before use.
// Usage of IronOCR library for reading Dzongkha text from images or PDFs.

using IronOcr;

var Ocr = new IronTesseract();

// Set the OCR language to Dzongkha
Ocr.Language = OcrLanguage.Dzongkha;

// Specify the path to the input image file
using (var Input = new OcrInput(@"images\Dzongkha.png"))
{
    // Reading text from the input file
    var Result = Ocr.Read(Input);

    // Retrieve all the recognized text
    var AllText = Result.Text;

    // Output the recognized text
    Console.WriteLine(AllText);
}
' Ensure to install the IronOcr.Languages.Dzongkha package before use.
' Usage of IronOCR library for reading Dzongkha text from images or PDFs.

Imports IronOcr

Private Ocr = New IronTesseract()

' Set the OCR language to Dzongkha
Ocr.Language = OcrLanguage.Dzongkha

' Specify the path to the input image file
Using Input = New OcrInput("images\Dzongkha.png")
	' Reading text from the input file
	Dim Result = Ocr.Read(Input)

	' Retrieve all the recognized text
	Dim AllText = Result.Text

	' Output the recognized text
	Console.WriteLine(AllText)
End Using
$vbLabelText   $csharpLabel