Sindhi OCR in C# and .NET
Curtis Chau
Updated: 2026年4月23日
本文件的其他版本:
IronOCR 是一個 C# 軟體元件,可讓 .NET 開發人員從 126 種語言(包括信德語)的圖片和 PDF 文件中讀取文字。 這是 Tesseract 的進階分支版本,專為 .NET 開發人員打造,無論在速度或準確度方面,其表現均經常優於其他 Tesseract 引擎。
IronOcr.Languages.Sindhi 的內容
此套件包含 43 種適用於 .NET 的 OCR 語言:
- 信德語
- 信德語Best
- 信德語Fast
下載
信德語語言套件 [सिनधी]
安裝
首先,請在您的 .NET 專案中安裝 Sindhi OCR 套件。
程式碼範例
此 C# 程式碼範例用於從圖片或 PDF 文件中讀取信德語文字。
// Ensure the IronOCR package and Sindhi language pack are installed
using IronOcr;
var Ocr = new IronTesseract
{
Language = OcrLanguage.Sindhi // Set the OCR language to Sindhi
};
// Open an image or PDF document for OCR processing
using (var Input = new OcrInput(@"images\Sindhi.png"))
{
// Perform OCR and get the results
var Result = Ocr.Read(Input);
// Extract the recognized text
var AllText = Result.Text;
// Optionally, you can do something with the extracted text,
// such as displaying or saving it to a file.
}' Ensure the IronOCR package and Sindhi language pack are installed
Imports IronOcr
Dim Ocr As New IronTesseract With {
.Language = OcrLanguage.Sindhi ' Set the OCR language to Sindhi
}
' Open an image or PDF document for OCR processing
Using Input As New OcrInput("images\Sindhi.png")
' Perform OCR and get the results
Dim Result = Ocr.Read(Input)
' Extract the recognized text
Dim AllText = Result.Text
' Optionally, you can do something with the extracted text,
' such as displaying or saving it to a file.
End Using在此程式碼範例中:
- 我們建立了一個
IronTesseract的實例。 - 將 OCR 語言設定為信德語。
- 開啟一個包含信德語文字的圖像檔案。
- 對圖片執行 OCR,並使用
Read方法提取文字。 - 擷取的文字會儲存於
AllText變數中,以供後續使用。

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