IronOCR 語言 古爾穆奇 Gurmukhi Alphabet OCR in C# and .NET Curtis Chau 更新日期:7月 22, 2025 Download IronOCR NuGet 下載 DLL 下載 Windows 安裝程式 Start Free Trial Copy for LLMs Copy for LLMs Copy page as Markdown for LLMs Open in ChatGPT Ask ChatGPT about this page Open in Gemini Ask Gemini about this page Open in Grok Ask Grok about this page Open in Perplexity Ask Perplexity about this page Share Share on Facebook Share on X (Twitter) Share on LinkedIn Copy URL Email article This article was translated from English: Does it need improvement? Translated View the article in English 另外 126 種語言 IronOCR 是一個 C# 軟體元件,允許 .NET 程式設計師從圖像和PDF文件中讀取文本,支持 126 種語言,包括 Gurmukhi 字母。 它是 Tesseract 的高級分支,專為 .NET 開發者而建造,並且在速度和精度上經常優於其他 Tesseract 引擎。 IronOcr.Languages.Gurmukhi 的內容 此套件包含 73 個適用於 .NET 的 OCR 語言: Gurmukhi字母 Gurmukhi字母最佳 Gurmukhi字母快速 下載 Gurmukhi 字母語言包 style='white-space:default'>[Gurmukhī] 下載為 Zip 使用 NuGet 安裝 安裝 我們首先需要將我們的Gurmukhi 字母OCR包安裝到你的 .NET 項目中。 Install-Package IronOCR.Languages.Gurmukhi 代碼示例 此 C# 代碼範例從圖像或 PDF 文件中讀取 Gurmukhi 字母文本。 // Import the IronOcr namespace using IronOcr; class Program { static void Main() { // Create a new instance of IronTesseract var Ocr = new IronTesseract(); // Set the OCR language to Gurmukhi Ocr.Language = OcrLanguage.Gurmukhi; // Define the input source for OCR using an image file path using (var Input = new OcrInput(@"images\Gurmukhi.png")) { // Perform OCR on the input var Result = Ocr.Read(Input); // Retrieve the recognized text var AllText = Result.Text; // Output the recognized text Console.WriteLine(AllText); } } } // Import the IronOcr namespace using IronOcr; class Program { static void Main() { // Create a new instance of IronTesseract var Ocr = new IronTesseract(); // Set the OCR language to Gurmukhi Ocr.Language = OcrLanguage.Gurmukhi; // Define the input source for OCR using an image file path using (var Input = new OcrInput(@"images\Gurmukhi.png")) { // Perform OCR on the input var Result = Ocr.Read(Input); // Retrieve the recognized text var AllText = Result.Text; // Output the recognized text Console.WriteLine(AllText); } } } ' Import the IronOcr namespace Imports IronOcr Friend Class Program Shared Sub Main() ' Create a new instance of IronTesseract Dim Ocr = New IronTesseract() ' Set the OCR language to Gurmukhi Ocr.Language = OcrLanguage.Gurmukhi ' Define the input source for OCR using an image file path Using Input = New OcrInput("images\Gurmukhi.png") ' Perform OCR on the input Dim Result = Ocr.Read(Input) ' Retrieve the recognized text Dim AllText = Result.Text ' Output the recognized text Console.WriteLine(AllText) End Using End Sub End Class $vbLabelText $csharpLabel 確保在您的項目中安裝必要的 IronOCR 庫以使用 Gurmukhi 語言包。 修改路徑 "images\Gurmukhi.png" 以指向您要處理的實際圖像文件。 該程序從指定的圖像中讀取文本並將其輸出到控制台。