Malay OCR in C# and .NET

This article was translated from English: Does it need improvement?
Translated
View the article in English

126개 언어 추가 지원

IronOCR는 .NET 개발자가 126개 언어, 포함 말레이어를 포함하여 이미지 및 PDF 문서에서 텍스트를 읽을 수 있게 하는 C# 소프트웨어 구성 요소입니다.

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

IronOcr.Languages.Malay 내용

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

  • 말레이어
  • 말레이어Best
  • 말레이어Fast

다운로드

말레이어 언어 팩 [bahasa Melayu]

설치

우리가 가장 먼저 해야 할 일은 말레이어 OCR 패키지를 .NET 프로젝트에 설치하는 것입니다.

Install-Package IronOcr.Languages.Malay

코드 예제

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

// This example demonstrates how to read Malay text using IronOcr.

using IronOcr;

class Program
{
    static void Main()
    {
        // Create a new instance of the IronTesseract class
        var Ocr = new IronTesseract();

        // Set the OCR language to Malay
        Ocr.Language = OcrLanguage.Malay;

        // Use a using statement to ensure the OcrInput is properly disposed of
        using (var Input = new OcrInput(@"images\Malay.png"))
        {
            // Perform OCR on the input image
            var Result = Ocr.Read(Input);

            // Extract and store the recognized text from the OCR result
            string AllText = Result.Text;

            // Output the recognized text (optional)
            Console.WriteLine(AllText);
        }
    }
}
// This example demonstrates how to read Malay text using IronOcr.

using IronOcr;

class Program
{
    static void Main()
    {
        // Create a new instance of the IronTesseract class
        var Ocr = new IronTesseract();

        // Set the OCR language to Malay
        Ocr.Language = OcrLanguage.Malay;

        // Use a using statement to ensure the OcrInput is properly disposed of
        using (var Input = new OcrInput(@"images\Malay.png"))
        {
            // Perform OCR on the input image
            var Result = Ocr.Read(Input);

            // Extract and store the recognized text from the OCR result
            string AllText = Result.Text;

            // Output the recognized text (optional)
            Console.WriteLine(AllText);
        }
    }
}
$vbLabelText   $csharpLabel