IRONSOFTWAREHOME

Thaana Alphabet OCR in C#

Curtis Chau
Curtis Chau
Updated: 2026年4月23日

126 種其他語言

IronOCR 是一款 C# 軟體元件,讓 .NET 程式設計師能夠從 126 種語言的圖片和 PDF 文件中讀取文字,其中包括塔納字母。

這是 Tesseract 的進階分支版本,專為 .NET 開發人員打造,無論在速度或準確度方面,其表現均經常優於其他 Tesseract 引擎。

IronOcr.Languages.Thaana 的內容

此套件包含 67 種適用於 .NET 的 OCR 語言:

  • ThaanaAlphabet
  • ThaanaAlphabetBest
  • ThaanaAlphabetFast

下載

塔納字母語言套件 [Thaana]

安裝

我們首先必須將 Thaana 字母 OCR 套件安裝至您的 .NET 專案中。

PM > Install-Package IronOcr.Languages.Thaana

程式碼範例

此 C# 程式碼範例可從圖片或 PDF 文件中讀取塔納字母(Thaana Alphabet)文字。

// 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);
}
  • 上述程式碼示範了如何使用 IronOCR 對包含塔納文(Thaana script)的圖片進行 OCR 處理。
  • 它會建立一個 OCR 物件,指定語言,並從指定的影像檔案中讀取文字。
  • 提取的文字隨後可根據需求在您的應用程式中使用。
Curtis Chau
技術作家

Curtis Chau擁有Carleton大學的電腦科學學士學位,專精於前端開發,擁有Node.js、TypeScript、JavaScript和React的專業知識。Curtis熱衷於建立直觀且美觀的使用者介面,喜愛使用現代框架並建立結構良好、視覺吸引力的手冊。

...
閱讀更多

準備開始了嗎?

Nuget Downloads 6,249,181版本:2026.9剛剛發布

立即獲取您的30天試用金鑰
無需信用卡或帳戶建立
Key in blue circle

立即免費取得 30 天試用金鑰

Your trial license will be sent to your email address

無任何限制。100% 解鎖。無需信用卡。

OR
bullet_checked無需信用卡或建立帳號無任何限制。100% 解鎖。無需信用卡。
  • Logo Aetna
  • Logo NASA
  • Logo GE
  • Logo Porsche
  • Logo USDA
  • Logo Qatar
Join Millions of Engineers who’ve tried IronPDF
獲取您的無義務諮詢
填寫以下表格或發送電子郵件至sales@ironsoftware.com
您的詳細資訊將始終保密。
被全球數百萬工程師信任
Iron Software的客戶標誌
立即獲取您的30天試用金鑰
無需信用卡或帳戶建立