Dzongkha OCR in C# and .NET
IronOCR, .NET kodlayıcılarının Dzongka dahil olmak üzere 126 dildeki metinleri görüntülerden ve PDF belgelerinden okumasına olanak tanıyan bir C# yazılım bileşenidir.
Tesseract'ın ileri düzey bir çatallamasıdır, yalnızca .NET geliştiricileri için oluşturulmuş olup hız ve doğruluk açısından diğer Tesseract motorlarını düzenli olarak geride bırakmaktadır.
IronOcr.Languages.Dzongkha'nın İçeriği
Bu paket, .NET için 49 OCR dili içerir:
- Dzongka
- DzongkaBest
- DzongkaFast
İndirme
Dzongka Dil Paketi [རང་ཁ]
Kurulum
Yapmamız gereken ilk şey, Dzongka OCR paketimizi .NET projenize yüklemektir.
Install-Package IronOcr.Languages.Dzongkha
Kod Örneği
Bu C# kod örneği, bir Görüntü veya PDF belgesinden Dzongka metnini okur.
// 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

