IronOCR 이용한 방정식 처리

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

IronOCR 방정식을 읽을 수 있나요?

IronOCR Tesseract 4/5를 사용하며 별도의 설정 없이도 방정식을 읽는 데 상당히 잘 작동하지만, 자세한 구성 옵션을 시험해 보는 것도 좋습니다.

Tesseract 구성 변수 살펴보기

IronOCR 에 사용자 지정 언어 팩을 추가할 수도 있습니다. 사용자 지정 언어 팩에 대해 자세히 알아보세요 .

EQU 방정식 감지 언어 팩도 있습니다: EQU 언어 팩

// C# Example to demonstrate reading equations using IronOCR

using IronOcr; // Import the IronOcr namespace

public class EquationOcrExample
{
    public void ReadEquations(string imagePath)
    {
        // Instantiate the IronTesseract object
        var Ocr = new IronTesseract();

        // Load the custom EQU language for better equation detection
        Ocr.Language = Ocr.Languages.Add("equ");

        // Read and OCR the image containing equations
        using (var Input = new OcrInput(imagePath))
        {
            // Extract OcrResult from the image
            var Result = Ocr.Read(Input);

            // Output the contents of the OCR result as text
            System.Console.WriteLine(Result.Text);
        }
    }
}
// C# Example to demonstrate reading equations using IronOCR

using IronOcr; // Import the IronOcr namespace

public class EquationOcrExample
{
    public void ReadEquations(string imagePath)
    {
        // Instantiate the IronTesseract object
        var Ocr = new IronTesseract();

        // Load the custom EQU language for better equation detection
        Ocr.Language = Ocr.Languages.Add("equ");

        // Read and OCR the image containing equations
        using (var Input = new OcrInput(imagePath))
        {
            // Extract OcrResult from the image
            var Result = Ocr.Read(Input);

            // Output the contents of the OCR result as text
            System.Console.WriteLine(Result.Text);
        }
    }
}
$vbLabelText   $csharpLabel

위의 예에서 IronOCR은 Tesseract OCR 엔진을 사용하여 이미지 파일에서 방정식을 읽습니다. 방정식의 사용자 정의 언어 팩(equ)이 로드되어 인식 정확도를 향상시킵니다. ReadEquations 메소드는 방정식을 포함하는 이미지에 대한 파일 경로를 받아 OCR을 수행하고 인식된 텍스트를 출력합니다.

커티스 차우
기술 문서 작성자

커티스 차우는 칼턴 대학교에서 컴퓨터 과학 학사 학위를 취득했으며, Node.js, TypeScript, JavaScript, React를 전문으로 하는 프론트엔드 개발자입니다. 직관적이고 미적으로 뛰어난 사용자 인터페이스를 만드는 데 열정을 가진 그는 최신 프레임워크를 활용하고, 잘 구성되고 시각적으로 매력적인 매뉴얼을 제작하는 것을 즐깁니다.

커티스는 개발 분야 외에도 사물 인터넷(IoT)에 깊은 관심을 가지고 있으며, 하드웨어와 소프트웨어를 통합하는 혁신적인 방법을 연구합니다. 여가 시간에는 게임을 즐기거나 디스코드 봇을 만들면서 기술에 대한 애정과 창의성을 결합합니다.

시작할 준비 되셨나요?
Nuget 다운로드 5,525,971 | 버전: 2026.3 방금 출시되었습니다
Still Scrolling Icon

아직도 스크롤하고 계신가요?

빠른 증거를 원하시나요? PM > Install-Package IronOcr
샘플을 실행하세요 이미지가 검색 가능한 텍스트로 바뀌는 것을 확인해 보세요.