Korean OCR in C# and .NET

This article was translated from English: Does it need improvement?
Translated
View the article in English
이 문서의 다른 버전:

IronOCR은 .NET 개발자가 한국어를 포함한 126개의 언어로 이미지와 PDF 문서에서 텍스트를 읽을 수 있게 해주는 C# 소프트웨어 구성 요소입니다.

이는 고속과 정확도 면에서 다른 Tesseract 엔진들을 정기적으로 능가하는, .NET 개발자만을 위한 특별한 Tesseract 분기입니다.

IronOcr.Languages.Korean의 내용

이 패키지에는 .NET 용 OCR 언어 108개가 포함되어 있습니다.

  • 한국어
  • 한국어Best
  • 한국어Fast
  • 한국어Vertical
  • 한국어VerticalBest
  • 한국어VerticalFast

다운로드

한국어 언어 팩 [한국어 (韓國語)]

설치

첫 번째 단계는 .NET 프로젝트에 Korean OCR 패키지를 설치하는 것입니다.

Install-Package IronOcr.Languages.Korean

코드 예제

이 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
}
$vbLabelText   $csharpLabel