Thaana Alphabet OCR in C
IronOCR, Thaana Alfabesi dahil olmak üzere 126 dilde resimlerden ve PDF belgelerinden metin okuyan 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.Thaana İçeği
Bu paket .NET için 67 OCR dili içerir:
- ThaanaAlphabet
- ThaanaAlphabetBest
- ThaanaAlfabesiHızlı
İndir
Thaana Alfabesi Dil Paketi [Thaana]
Kurulum
İlk yapmamız gereken şey, .NET projenize Thaana Alfabesi OCR paketimizi yüklemek.
Install-Package IronOcr.Languages.Thaana
Kod Örneği
Bu C# kod örneği, bir resim veya PDF belgesinden Thaana Alfabesi metnini okur.
// Import the IronOcr namespace
using IronOcr;
// Create a new IronTesseract OCR object
var Ocr = new IronTesseract();
// Set the language to Thaana for OCR processing
Ocr.Language = OcrLanguage.Thaana;
// Create an OcrInput object with the path to the image
using (var Input = new OcrInput(@"images\Thaana.png"))
{
// Perform OCR on the input image to extract text
var Result = Ocr.Read(Input);
// Store the recognized text from the image in a variable
var AllText = Result.Text;
// Output the recognized text to the console or any other use
Console.WriteLine(AllText);
}
// Import the IronOcr namespace
using IronOcr;
// Create a new IronTesseract OCR object
var Ocr = new IronTesseract();
// Set the language to Thaana for OCR processing
Ocr.Language = OcrLanguage.Thaana;
// Create an OcrInput object with the path to the image
using (var Input = new OcrInput(@"images\Thaana.png"))
{
// Perform OCR on the input image to extract text
var Result = Ocr.Read(Input);
// Store the recognized text from the image in a variable
var AllText = Result.Text;
// Output the recognized text to the console or any other use
Console.WriteLine(AllText);
}
' Import the IronOcr namespace
Imports IronOcr
' Create a new IronTesseract OCR object
Private Ocr = New IronTesseract()
' Set the language to Thaana for OCR processing
Ocr.Language = OcrLanguage.Thaana
' Create an OcrInput object with the path to the image
Using Input = New OcrInput("images\Thaana.png")
' Perform OCR on the input image to extract text
Dim Result = Ocr.Read(Input)
' Store the recognized text from the image in a variable
Dim AllText = Result.Text
' Output the recognized text to the console or any other use
Console.WriteLine(AllText)
End Using
- Yukarıdaki kod, IronOCR kullanarak Thaana yazısını içeren bir resimde OCR gerçekleştirmeyi gösteriyor.
- Bir OCR nesnesi kurar, dili belirtir ve belirtilen resim dosyasından metin okur.
- Çıkarılan metin daha sonra uygulamanızda gerektiği gibi kullanılabilir.

