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:
- ThaanaAlfabe
- ThaanaAlfabeBest
- ThaanaAlfabesiHızlı
İndir
Thaana Alfabesi Dil Paketi [Thaana]
Kurulum
İlk yapmamız gereken şey, .NET projenize Thaana Alfabesi OCR paketimizi yüklemek.
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
Imports IronOcr
' Create a new IronTesseract OCR object
Dim Ocr As 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 As 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 As String = 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.

Curtis Chau, Bilgisayar Bilimleri alanında Lisans Derecesine (Carleton Üniversitesi) sahip ve Node.js, TypeScript, JavaScript ve React konularında uzmanlaşmış ön uç geliştirmeyle ilgileniyor. Sezgisel ve estetik açıdan hoş kullanıcı arayüzleri oluşturma tutkunu, Curtis modern çerçevelerle çalışmayı ve iyi yapılandırılmış, görsel olarak çekici kılavuzlar oluşturmayı seviyor.