C# 및 .NET용 금융 문서 OCR
Curtis Chau
업데이트됨: 2026년 8월 2일
IronOCR은 .NET 개발자가 금융 용어를 포함한 126개 언어로 된 이미지와 PDF 문서에서 텍스트를 읽을 수 있도록 해주는 C# 소프트웨어 구성 요소입니다.
이는 .NET 개발자 전용으로 개발된 Tesseract의 고급 포크 버전으로, 속도와 정확도 면에서 다른 Tesseract 엔진보다 뛰어난 성능을 보여줍니다.
IronOcr.Languages.Financial의 내용
이 패키지에는 .NET용 OCR 언어 16개가 포함되어 있습니다.
- Financial
다운로드
금융 언어 팩 [Financial]
설치
먼저 해야 할 일은 .NET 프로젝트에 금융 OCR 패키지를 설치하는 것입니다.
코드 예제
이 C# 코드 예제는 이미지 또는 PDF 문서에서 재무 관련 텍스트를 읽습니다.
// Import the IronOcr namespace
using IronOcr;
// Instantiate the IronTesseract OCR engine
var Ocr = new IronTesseract();
// Set the OCR language to Financial
Ocr.Language = OcrLanguage.Financial;
// Create an OCR input object, specifying the path to the image or PDF
using (var Input = new OcrInput(@"images\Financial.png"))
{
// Perform OCR to read text from the input
var Result = Ocr.Read(Input);
// Retrieve the extracted text
var AllText = Result.Text;
}' Import the IronOcr namespace
Imports IronOcr
' Instantiate the IronTesseract OCR engine
Dim Ocr As New IronTesseract()
' Set the OCR language to Financial
Ocr.Language = OcrLanguage.Financial
' Create an OCR input object, specifying the path to the image or PDF
Using Input As New OcrInput("images\Financial.png")
' Perform OCR to read text from the input
Dim Result = Ocr.Read(Input)
' Retrieve the extracted text
Dim AllText = Result.Text
End Using' Import the IronOcr namespace
Imports IronOcr
' Instantiate the IronTesseract OCR engine
Dim Ocr As New IronTesseract()
' Set the OCR language to Financial
Ocr.Language = OcrLanguage.Financial
' Create an OCR input object, specifying the path to the image or PDF
Using Input As New OcrInput("images\Financial.png")
' Perform OCR to read text from the input
Dim Result = Ocr.Read(Input)
' Retrieve the extracted text
Dim AllText = Result.Text
End Using설명:
- IronOCR 사용: 이 네임스페이스는 OCR 프로세스에 필요한 모든 클래스를 포함합니다.
- IronTesseract 클래스: OCR 작업을 가능하게 하는 주요 클래스입니다.
- 언어 설정: 언어를
Financial로 설정하면 OCR 엔진이 금융 용어를 인식할 수 있습니다. - OcrInput 클래스: 처리할 이미지 또는 PDF 파일을 지정하는 파일 경로를 받습니다.
- Read 메서드:
Ocr.Read(Input)에서 실행되며, 제공된 입력 및 언어 설정에 따라 이미지를 처리하여 텍스트를 추출합니다. - Result.Text: 이미지 또는 PDF에서 인식된 텍스트를 저장합니다.
커티스 차우는 칼턴 대학교에서 컴퓨터 과학 학사 학위를 취득했으며, Node.js, TypeScript, JavaScript, React를 전문으로 하는 프론트엔드 개발자입니다. 직관적이고 미적으로 뛰어난 사용자 인터페이스를 만드는 데 열정을 가진 그는 최신 프레임워크를 활용하고, 잘 구성되고 시각적으로 매력적인 매뉴얼을 제작하는 것을 즐깁니다.