C# と .NET での韓国語 OCR
Other versions of this document:
IronOCR は、.NET コーダーが韓国語を含む 126 の言語で画像や PDF ドキュメントからテキストを読み取ることができる C# ソフトウェア コンポーネントです。
これは Tesseract の高度なフォークであり、.NET 開発者専用に構築されており、速度と精度の点で他の Tesseract エンジンを常に上回っています。
IronOcr.Languages.Korean の内容
このパッケージには、.NET 用の 108 個の OCR 言語が含まれています。
- 韓国語
- 韓国ベスト
- 韓国語高速
- 韓国語(縦書き)
- 韓国語縦向きベスト
- 韓国語縦向き高速
ダウンロード
Korean Language Pack [한국어 (韓國語)]
インストール
最初のステップは、韓国語OCR パッケージを .NET プロジェクトにインストールすることです。
Install-Package IronOCR.Languages.Korean
Code Example
この 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
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
Private 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 Input = 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




