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

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

IronOCR 의 내용.언어.에티오피아어

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

  • 에티오피아 알파벳
  • 에티오피아알파벳베스트
  • 에티오피아알파벳패스트

다운로드

에티오피아 알파벳 언어 팩 [Ge'ez]

설치

먼저 .NET 프로젝트에 에티오피아 문자 OCR 패키지를 설치해야 합니다.

Install-Package IronOcr.Languages.Ethiopic

코드 예제

이 C# 코드 예제는 이미지 또는 PDF 문서에서 에티오피아 문자 텍스트를 읽습니다.

// First, ensure the IronOcr.Languages.Ethiopic package is installed
using IronOcr;

public class EthiopicOcrExample
{
    public void ReadEthiopicText()
    {
        // Create an instance of IronTesseract
        var Ocr = new IronTesseract();

        // Set the language property to Ethiopic
        Ocr.Language = OcrLanguage.Ethiopic;

        // Define the input image containing Ethiopic text
        using (var Input = new OcrInput(@"images\Ethiopic.png"))
        {
            // Perform OCR to read text from the image
            var Result = Ocr.Read(Input);

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

            // Output the recognized text
            Console.WriteLine(AllText);
        }
    }
}
// First, ensure the IronOcr.Languages.Ethiopic package is installed
using IronOcr;

public class EthiopicOcrExample
{
    public void ReadEthiopicText()
    {
        // Create an instance of IronTesseract
        var Ocr = new IronTesseract();

        // Set the language property to Ethiopic
        Ocr.Language = OcrLanguage.Ethiopic;

        // Define the input image containing Ethiopic text
        using (var Input = new OcrInput(@"images\Ethiopic.png"))
        {
            // Perform OCR to read text from the image
            var Result = Ocr.Read(Input);

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

            // Output the recognized text
            Console.WriteLine(AllText);
        }
    }
}
$vbLabelText   $csharpLabel
  • 이 예제는 OCR 작업을 수행하기 위해 IronTesseract의 인스턴스를 생성합니다.
  • OcrLanguage.Ethiopic를 사용하여 언어를 에티오피아어로 설정합니다.
  • 소스 이미지를 정의하기 위해 OcrInput이 사용됩니다.
  • Read 메서드는 OCR을 수행하고 인식된 텍스트가 포함된 결과를 반환합니다.
  • 인식된 텍스트는 AllText에 저장되고 콘솔에 출력됩니다.