Dutch 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# 소프트웨어 구성 요소입니다.

이는 .NET 개발자 전용으로 개발된 Tesseract의 고급 포크 버전으로, 속도와 정확도 면에서 다른 Tesseract 엔진보다 뛰어난 성능을 보여줍니다.

IronOCR 목차.언어.네덜란드어

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

  • 네덜란드어
  • 더치베스트
  • 더치패스트

다운로드

네덜란드어 학습 팩 [Nederlands]

설치

먼저 .NET 프로젝트에 네덜란드어 OCR 패키지를 설치해야 합니다.

Install-Package IronOcr.Languages.Dutch

코드 예제

이 C# 코드 예제는 이미지 또는 PDF 문서에서 네덜란드어 텍스트를 읽습니다.

// The first step is to ensure the IronOcr.Languages.Dutch package is installed.
// You can do this from the Package Manager Console with the command:
// PM> Install-Package IronOcr.Languages.Dutch

using IronOcr;

var Ocr = new IronTesseract();

// Set the OCR language to Dutch.
// This is crucial for recognizing text in that language effectively.
Ocr.Language = OcrLanguage.Dutch;

// Use a using statement to manage the OcrInput resource lifecycle.
using (var Input = new OcrInput(@"images\Dutch.png"))
{
    // Read the image and perform OCR to extract text.
    var Result = Ocr.Read(Input);

    // Store the recognized text into a variable.
    var AllText = Result.Text;

    // You can now use the extracted text stored in AllText.
}
// The first step is to ensure the IronOcr.Languages.Dutch package is installed.
// You can do this from the Package Manager Console with the command:
// PM> Install-Package IronOcr.Languages.Dutch

using IronOcr;

var Ocr = new IronTesseract();

// Set the OCR language to Dutch.
// This is crucial for recognizing text in that language effectively.
Ocr.Language = OcrLanguage.Dutch;

// Use a using statement to manage the OcrInput resource lifecycle.
using (var Input = new OcrInput(@"images\Dutch.png"))
{
    // Read the image and perform OCR to extract text.
    var Result = Ocr.Read(Input);

    // Store the recognized text into a variable.
    var AllText = Result.Text;

    // You can now use the extracted text stored in AllText.
}
$vbLabelText   $csharpLabel

이 코드는 네덜란드어 텍스트를 읽기 위한 C# 기반 OCR 프로세스를 설정합니다. 이 함수는 IronTesseract 객체를 초기화하고, OCR 언어를 지정한 후, 입력 이미지 파일을 처리합니다. 결과는 파일에서 추출된 텍스트이며, 이는 애플리케이션에서 필요에 따라 활용할 수 있습니다.