IronOCR 語言 天城文 Devanagari 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程式設計師能夠讀取126種語言的圖像和PDF文件中的文字,包括天城文字母。 它是一個專為 .NET 開發者設計的 Tesseract 高級分支,在速度和準確性方面經常優於其他 Tesseract 引擎。 IronOcr.Languages.Devanagari的內容 此套件包含79種.NET的OCR語言: 天城文字母 天城文字母最佳 天城文字母快速 下載 天城文字語言包 [Nagair] 下載為Zip 使用NuGet 安裝 安裝 首先,我們必須將我們的天城文字母OCR套件安裝到您的.NET專案中。 Install-Package IronOCR.Languages.Devanagari 代碼示例 本C#代碼示例從圖像或PDF文件中讀取天城文字母。 // Ensure the IronOcr package is installed // PM> Install-Package IronOcr.Languages.Devanagari using IronOcr; var Ocr = new IronTesseract(); // Set the OCR language to Devanagari Ocr.Language = OcrLanguage.Devanagari; // Define the input file using (var Input = new OcrInput(@"images\Devanagari.png")) { // Process the input file var Result = Ocr.Read(Input); // Extract the recognized text var AllText = Result.Text; // Output the recognized text Console.WriteLine(AllText); } // Ensure the IronOcr package is installed // PM> Install-Package IronOcr.Languages.Devanagari using IronOcr; var Ocr = new IronTesseract(); // Set the OCR language to Devanagari Ocr.Language = OcrLanguage.Devanagari; // Define the input file using (var Input = new OcrInput(@"images\Devanagari.png")) { // Process the input file var Result = Ocr.Read(Input); // Extract the recognized text var AllText = Result.Text; // Output the recognized text Console.WriteLine(AllText); } ' Ensure the IronOcr package is installed ' PM> Install-Package IronOcr.Languages.Devanagari Imports IronOcr Private Ocr = New IronTesseract() ' Set the OCR language to Devanagari Ocr.Language = OcrLanguage.Devanagari ' Define the input file Using Input = New OcrInput("images\Devanagari.png") ' Process the input file Dim Result = Ocr.Read(Input) ' Extract the recognized text Dim AllText = Result.Text ' Output the recognized text Console.WriteLine(AllText) End Using $vbLabelText $csharpLabel 上述代碼片段演示: 設置IronTesseract OCR引擎。 將OCR語言配置為天城文。 讀取包含天城文文字的圖像文件。 提取並將識別出的文字打印到控制台。