Korean OCR in C# and .NET
Curtis Chau
Updated: 2026年4月23日
本文件的其他版本:
IronOCR 是一款 C# 軟體元件,讓 .NET 開發人員能夠從 126 種語言(包括韓文)的圖片和 PDF 文件中讀取文字。
這是 Tesseract 的進階分支版本,專為 .NET 開發者打造,在速度與準確度方面經常優於其他 Tesseract 引擎。
IronOcr.Languages.Korean 的內容
此套件包含 108 種適用於 .NET 的 OCR 語言:
- 韓文
- 韓文Best
- 韓文Fast
- 韓文Vertical
- 韓文VerticalBest
- 韓文VerticalFast
下載
韓語語言包 [한국어 (韓國語)]
安裝
第一步是將韓文 OCR 套件安裝至您的 .NET 專案中。
程式碼範例
此 C# 程式碼範例用於從圖片或 PDF 文件中讀取韓文文字。
// Ensure you have installed the IronOCR Korean language package
using IronOcr;
var Ocr = new IronTesseract();
// Specify that we want to use the Korean OCR capability
Ocr.Language = OcrLanguage.Korean;
// Create an OCR input, loading the image from the specified path
using (var Input = new OcrInput(@"images\Korean.png"))
{
// Use the OCR engine to read the text from the image
var Result = Ocr.Read(Input);
// Once reading is complete, extract the text from the result
var AllText = Result.Text;
// AllText now contains the text recognized from the image
}' Ensure you have installed the IronOCR Korean language package
Imports IronOcr
Dim Ocr As New IronTesseract()
' Specify that we want to use the Korean OCR capability
Ocr.Language = OcrLanguage.Korean
' Create an OCR input, loading the image from the specified path
Using Input As New OcrInput("images\Korean.png")
' Use the OCR engine to read the text from the image
Dim Result = Ocr.Read(Input)
' Once reading is complete, extract the text from the result
Dim AllText = Result.Text
' AllText now contains the text recognized from the image
End Using
技術作家
Curtis Chau擁有Carleton大學的電腦科學學士學位,專精於前端開發,擁有Node.js、TypeScript、JavaScript和React的專業知識。Curtis熱衷於建立直觀且美觀的使用者介面,喜愛使用現代框架並建立結構良好、視覺吸引力的手冊。
...
閱讀更多