Telugu OCR in C# and .NET
Bu belgenin diğer versiyonları:
IronOCR, .NET kodlayıcılarının Telugu dahil olmak üzere 126 dilde resimlerden ve PDF belgelerinden metin okumasını sağlayan bir C# yazılım bileşenidir.
Tesseract'ın, yalnızca .NET geliştiricileri için özel olarak oluşturulmuş gelişmiş 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.Telugu İçeği
Bu paket, .NET için Telugu ile ilgili çeşitli OCR dil modellerini içerir:
- Telugu
- TeluguBest
- TeluguFast
- TeluguAlphabet
- TeluguAlphabetBest
- TeluguAlfabesiHızlı
İndir
Telugu Language Pack [తలుగు]
Kurulum
İlk adım, .NET projenize Telugu OCR paketini yüklemektir.
Install-Package IronOcr.Languages.Telugu
Kod Örneği
Bu, bir resim veya PDF belgesinden Telugu metni okuyan bir C# kod örneğidir.
// Ensure that you have installed the IronOcr.Languages.Telugu package before running this code.
using IronOcr;
public class TeluguOcrExample
{
public static void Main()
{
// Create a new IronTesseract instance
var Ocr = new IronTesseract();
// Specify the OCR language as Telugu
Ocr.Language = OcrLanguage.Telugu;
// Create a new OcrInput and specify the path to the image or PDF
using (var Input = new OcrInput(@"images\Telugu.png"))
{
// Perform OCR on the input file
var Result = Ocr.Read(Input);
// Extract and store the recognized text
var AllText = Result.Text;
// Output the recognized text to the console (optional)
Console.WriteLine(AllText);
}
}
}
// Ensure that you have installed the IronOcr.Languages.Telugu package before running this code.
using IronOcr;
public class TeluguOcrExample
{
public static void Main()
{
// Create a new IronTesseract instance
var Ocr = new IronTesseract();
// Specify the OCR language as Telugu
Ocr.Language = OcrLanguage.Telugu;
// Create a new OcrInput and specify the path to the image or PDF
using (var Input = new OcrInput(@"images\Telugu.png"))
{
// Perform OCR on the input file
var Result = Ocr.Read(Input);
// Extract and store the recognized text
var AllText = Result.Text;
// Output the recognized text to the console (optional)
Console.WriteLine(AllText);
}
}
}
Imports IronOcr
Public Class TeluguOcrExample
Public Shared Sub Main()
' Create a new IronTesseract instance
Dim Ocr As New IronTesseract()
' Specify the OCR language as Telugu
Ocr.Language = OcrLanguage.Telugu
' Create a new OcrInput and specify the path to the image or PDF
Using Input As New OcrInput("images\Telugu.png")
' Perform OCR on the input file
Dim Result = Ocr.Read(Input)
' Extract and store the recognized text
Dim AllText = Result.Text
' Output the recognized text to the console (optional)
Console.WriteLine(AllText)
End Using
End Sub
End Class
Bu kod örneği, IronOCR paketini kullanarak bir OCR motorunu başlatır, OCR işlemi için dili Telugu olarak ayarlayarak kullanıcı tarafından belirtilen bir giriş resim dosyasından metin okur.

