Tibetan Alphabet OCR in C# and .NET
IronOCR, Tibet Alfabesi dahil olmak üzere 126 dilde resimlerden ve PDF belgelerinden metin okuyan bir C# yazılım bileşenidir.
Bu, özel olarak .NET geliştiricileri için hazırlanmış, Tesseract'ın ileri düzey bir dalıdır ve hız ve doğruluk açısından diğer Tesseract motorlarını düzenli olarak geride bırakır.
IronOcr.Languages.Tibetan İçeği
Bu paket, .NET için 114 OCR dili içerir:
- Tibet
- TibetEn İyi
- TibetHızlı
- TibetAlfabesi
- TibetAlfabesiEn İyi
- TibetAlfabesiHızlı
İndir
Tibet Alfabesi Dil Paketi [Tibetan Standard]
Kurulum
İlk yapmanız gereken şey, .NET projenize Tibet Alfabesi OCR paketini yüklemek.
Install-Package IronOcr.Languages.Tibetan
Kod Örneği
Bu C# kod örneği, bir resim veya PDF belgesinden Tibet Alfabesi metni okur.
// Import the IronOcr namespace to use its components
using IronOcr;
class Program
{
static void Main()
{
// Initialize a new IronTesseract object for OCR
var Ocr = new IronTesseract();
// Set the OCR language to Tibetan
Ocr.Language = OcrLanguage.Tibetan;
// Use a using statement for automatic resource disposal
using (var Input = new OcrInput(@"images\Tibetan.png"))
{
// Perform OCR to read text from the input image
var Result = Ocr.Read(Input);
// Retrieve all recognized text from the OCR Result
var AllText = Result.Text;
// Output the recognized text to the console
// Note: Ensure that the console supports Tibetan script for correct display
Console.WriteLine(AllText);
}
}
}
// Import the IronOcr namespace to use its components
using IronOcr;
class Program
{
static void Main()
{
// Initialize a new IronTesseract object for OCR
var Ocr = new IronTesseract();
// Set the OCR language to Tibetan
Ocr.Language = OcrLanguage.Tibetan;
// Use a using statement for automatic resource disposal
using (var Input = new OcrInput(@"images\Tibetan.png"))
{
// Perform OCR to read text from the input image
var Result = Ocr.Read(Input);
// Retrieve all recognized text from the OCR Result
var AllText = Result.Text;
// Output the recognized text to the console
// Note: Ensure that the console supports Tibetan script for correct display
Console.WriteLine(AllText);
}
}
}
' Import the IronOcr namespace to use its components
Imports IronOcr
Friend Class Program
Shared Sub Main()
' Initialize a new IronTesseract object for OCR
Dim Ocr = New IronTesseract()
' Set the OCR language to Tibetan
Ocr.Language = OcrLanguage.Tibetan
' Use a using statement for automatic resource disposal
Using Input = New OcrInput("images\Tibetan.png")
' Perform OCR to read text from the input image
Dim Result = Ocr.Read(Input)
' Retrieve all recognized text from the OCR Result
Dim AllText = Result.Text
' Output the recognized text to the console
' Note: Ensure that the console supports Tibetan script for correct display
Console.WriteLine(AllText)
End Using
End Sub
End Class
Notlar
- OCR kütüphanesi (
IronTesseract), sağlanan görüntüden Tibet dilini okuyacak şekilde yapılandırılmıştır. OcrInput, giriş görüntüsünün yüklenmesini yönetir veusingdeyimini kullanarak kaynakların uygun şekilde kaldırılmasını sağlar.Result.Text, PRINT edilebilen veya uygulama içinde kullanılabilen OCR ile işlenmiş metni içerir.

