Finnish 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 언어 46개가 포함되어 있습니다.

  • 핀란드어
  • 핀란드 최고
  • 핀란드식

다운로드

핀란드어 학습 팩 [suomi]

설치

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

Install-Package IronOcr.Languages.Finnish

코드 예제

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

// Ensure you have installed the IronOcr.Languages.Finnish package before using this code.
// You can install it via NuGet package manager.

using IronOcr;

var Ocr = new IronTesseract(); // Create a new instance of the IronTesseract OCR engine
Ocr.Language = OcrLanguage.Finnish; // Set the language of the OCR engine to Finnish

// Using a using statement to ensure the OcrInput gets disposed of correctly
using (var Input = new OcrInput(@"images\Finnish.png")) // Path to the image/PDF containing Finnish text
{
    var Result = Ocr.Read(Input); // Perform OCR on the input file
    var AllText = Result.Text; // Extract the recognized text as a string

    // Output or process the extracted text as required
    Console.WriteLine(AllText); // Example of outputting the text to the console
}
// Ensure you have installed the IronOcr.Languages.Finnish package before using this code.
// You can install it via NuGet package manager.

using IronOcr;

var Ocr = new IronTesseract(); // Create a new instance of the IronTesseract OCR engine
Ocr.Language = OcrLanguage.Finnish; // Set the language of the OCR engine to Finnish

// Using a using statement to ensure the OcrInput gets disposed of correctly
using (var Input = new OcrInput(@"images\Finnish.png")) // Path to the image/PDF containing Finnish text
{
    var Result = Ocr.Read(Input); // Perform OCR on the input file
    var AllText = Result.Text; // Extract the recognized text as a string

    // Output or process the extracted text as required
    Console.WriteLine(AllText); // Example of outputting the text to the console
}
$vbLabelText   $csharpLabel