IronOCR 語言 韓文 Hangul Alphabet OCR in C# and .NET Curtis Chau 更新日期:7月 24, 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 文件中讀取文本,包括韓文字母。 它是 Tesseract 的高級分支,專為 .NET 開發者而建造,並且在速度和精度上經常優於其他 Tesseract 引擎。 IronOcr.Languages.Hangul 的內容 此套件包含 156 種用於 .NET 的 OCR 語言: 韓文字母 韓文字母Best 韓文字母Fast 韓文垂直字母 韓文垂直字母Best 韓文垂直字母Fast 下載 韓文字母語言包 [韓文字母] 下載為 Zip 使用 NuGet 安裝 安裝 第一步是將 韓文字母 OCR 套件安裝到您的 .NET 專案中。 Install-Package IronOCR.Languages.Hangul 代碼示例 這個 C# 代碼範例從圖像或 PDF 文件中讀取韓文字母文本。 // Ensure the IronOCR library is installed // PM> Install-Package IronOcr.Languages.Hangul using IronOcr; class Program { static void Main() { // Create a new instance of IronTesseract for performing OCR var Ocr = new IronTesseract(); // Specify the Hangul language pack for better accuracy with Korean texts Ocr.Language = OcrLanguage.Hangul; // Load the image or PDF you want to read using (var Input = new OcrInput(@"images\Hangul.png")) { // Perform OCR to read the text from the image var Result = Ocr.Read(Input); // Extract the recognized text var AllText = Result.Text; // Output the text to the console Console.WriteLine(AllText); } } } // Ensure the IronOCR library is installed // PM> Install-Package IronOcr.Languages.Hangul using IronOcr; class Program { static void Main() { // Create a new instance of IronTesseract for performing OCR var Ocr = new IronTesseract(); // Specify the Hangul language pack for better accuracy with Korean texts Ocr.Language = OcrLanguage.Hangul; // Load the image or PDF you want to read using (var Input = new OcrInput(@"images\Hangul.png")) { // Perform OCR to read the text from the image var Result = Ocr.Read(Input); // Extract the recognized text var AllText = Result.Text; // Output the text to the console Console.WriteLine(AllText); } } } ' Ensure the IronOCR library is installed ' PM> Install-Package IronOcr.Languages.Hangul Imports IronOcr Friend Class Program Shared Sub Main() ' Create a new instance of IronTesseract for performing OCR Dim Ocr = New IronTesseract() ' Specify the Hangul language pack for better accuracy with Korean texts Ocr.Language = OcrLanguage.Hangul ' Load the image or PDF you want to read Using Input = New OcrInput("images\Hangul.png") ' Perform OCR to read the text from the image Dim Result = Ocr.Read(Input) ' Extract the recognized text Dim AllText = Result.Text ' Output the text to the console Console.WriteLine(AllText) End Using End Sub End Class $vbLabelText $csharpLabel 說明: IronTesseract:這是用於執行 OCR 操作的主要類別。 OcrLanguage.Hangul:這指定 OCR 引擎應使用韓文字言包,以最佳化引擎進行韓文文本識別。 OcrInput:這是要處理的圖像或 PDF 的容器。 Ocr.Read():此方法執行 OCR 操作並返回包含識別文本的結果對象。