IronOCR의 SEHException 및 AVX 지원 문제 해결

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

처리되지 않은 예외: System.Runtime.InteropServices.SEHException

File G7IUWBgksH related to IronOCR의 SEHException 및 AVX 지원 문제 해결

이 문제는 구형 Xeon, Celeron, Pentium 또는 Atom 프로세서를 사용하는 컴퓨터에서 AVX 지원이 없는 경우 흔히 발생합니다.

AVX 프로세서를 지원하지 않는 IronOcr의 지원은 버전 2022.8.7804에 추가되었으므로 최신 릴리스로 업그레이드하세요.

// Example: Checking AVX support programmatically in C#
using System;

class ProcessorFeatures
{
    // Main method to check AVX support
    static void Main()
    {
        // Check if the machine's processor supports AVX
        if (IsAvxSupported())
        {
            Console.WriteLine("AVX is supported.");
        }
        else
        {
            Console.WriteLine("AVX is not supported. Consider updating IronOcr to the latest version that supports non-AVX processors.");
        }
    }

    // Function to determine if AVX is supported
    static bool IsAvxSupported()
    {
        return System.Runtime.Intrinsics.X86.Avx.IsSupported;
    }
}
// Example: Checking AVX support programmatically in C#
using System;

class ProcessorFeatures
{
    // Main method to check AVX support
    static void Main()
    {
        // Check if the machine's processor supports AVX
        if (IsAvxSupported())
        {
            Console.WriteLine("AVX is supported.");
        }
        else
        {
            Console.WriteLine("AVX is not supported. Consider updating IronOcr to the latest version that supports non-AVX processors.");
        }
    }

    // Function to determine if AVX is supported
    static bool IsAvxSupported()
    {
        return System.Runtime.Intrinsics.X86.Avx.IsSupported;
    }
}
$vbLabelText   $csharpLabel

이 예제 코드에서는 프로세서가 AVX 명령어를 지원하는지 확인하기 위해 System.Runtime.Intrinsics.X86.Avx.IsSupported 속성을 사용합니다. AVX가 지원되지 않는 경우 AVX 프로세서를 지원하는 IronOcr 버전을 사용하고 있는지 확인하는 것이 좋습니다.

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

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

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

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

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

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