문서 읽기
IronOCR을 사용하여 송장과 보고서에서 텍스트와 데이터를 정확하게 추출하고 기능을 더 빠르게 구축하세요.
문서 읽기
1
스캔한 문서 읽기
실물 문서와 이미지 기반 PDF를 기계가 읽을 수 있는 텍스트로 정확하게 디지털화합니다. 검색 가능한 아카이브 구축, 종이 양식에서 데이터 입력 자동화, 스캔한 콘텐츠의 접근성 및 색인화에 적합합니다. 당사의 엔진은 일반적인 스캔 오류를 효과적으로 처리합니다.
C#에서 스캔한 문서를 읽는 방법을 알아보세요.using IronOcr;
using System;
// Instantiate OCR engine
var ocr = new IronTesseract();
// Configure OCR engine
using var input = new OcrInput();
input.LoadImage("potter.tiff");
// Perform OCR
OcrResult result = ocr.ReadDocument(input);
Console.WriteLine(result.Text);Imports IronOcr
Imports System
' Instantiate OCR engine
Dim ocr As New IronTesseract()
' Configure OCR engine
Using input As New OcrInput()
input.LoadImage("potter.tiff")
' Perform OCR
Dim result As OcrResult = ocr.ReadDocument(input)
Console.WriteLine(result.Text)
End Using2
송장 문서를 읽어보세요
송장에서 구조화된 데이터를 지능적으로 추출하여 매입채무 관리 워크플로를 자동화하세요. 단순 텍스트 추출을 넘어 송장 번호, 만기일, 총액, 공급업체 이름과 같은 주요 값 쌍을 다양한 레이아웃과 템플릿에서도 추출할 수 있습니다.
문서 내 복잡한 표 읽는 방법 알아보기using IronOcr;
// Instantiate OCR engine
var ocr = new IronTesseract();
// Enable table detection
ocr.Configuration.ReadDataTables = true;
using var input = new OcrPdfInput("sample.pdf");
var result = ocr.Read(input);
// Retrieve the data
var table = result.Tables[0].DataTable;
// Print the retrieved item to the console
Console.WriteLine($"The first item in the table is: {result.Tables[0].DataTable.Rows[0][0]}");Imports IronOcr
' Instantiate OCR engine
Dim ocr As New IronTesseract()
' Enable table detection
ocr.Configuration.ReadDataTables = True
Using input As New OcrPdfInput("sample.pdf")
Dim result = ocr.Read(input)
' Retrieve the data
Dim table = result.Tables(0).DataTable
' Print the retrieved item to the console
Console.WriteLine($"The first item in the table is: {result.Tables(0).DataTable.Rows(0)(0)}")
End Using3
사진 읽기
스마트폰 사진과 카메라 이미지를 사용 가능한 텍스트로 변환합니다. 영수증 캡처를 통한 경비 추적, 화이트보드 메모 디지털화, 제품 라벨 정보 추출, 도로 표지판 및 포스터 텍스트 판독 등 모바일 애플리케이션에 이상적입니다.
C#에서 사진 읽기 기능을 사용하는 방법을 알아보세요.using IronOcr;
var ocr = new IronTesseract();
using var inputPhoto = new OcrInput();
inputPhoto.LoadImageFrame("ocr.tiff", 0);
// Read photo
OcrPhotoResult result = ocr.ReadPhoto(inputPhoto);
// Extract the text in the first region
string textinregion = result.TextRegions[0].TextInRegion;
// Print the text in the first region
Console.WriteLine($"Full Scnned Photo Text: {textinregion}");Imports IronOcr
Dim ocr = New IronTesseract()
Using inputPhoto = New OcrInput()
inputPhoto.LoadImageFrame("ocr.tiff", 0)
' Read photo
Dim result As OcrPhotoResult = ocr.ReadPhoto(inputPhoto)
' Extract the text in the first region
Dim textinregion As String = result.TextRegions(0).TextInRegion
' Print the text in the first region
Console.WriteLine($"Full Scnned Photo Text: {textinregion}")
End Using4
스크린샷을 읽어보세요
애플리케이션 창, 사용자 인터페이스 또는 웹 콘텐츠의 화면 텍스트를 즉시 캡처하고 처리합니다. 다른 애플리케이션의 UI 요소를 읽어 원활하게 통합할 수 있습니다.
C#에서 스크린샷 읽기 기능을 사용하는 방법을 알아보세요.using IronOcr;
using System;
using System.Linq;
// Instantiate OCR engine
var ocr = new IronTesseract();
using var inputScreenshot = new OcrInput();
inputScreenshot.LoadImage("screenshotOCR.png");
// Perform OCR
OcrPhotoResult result = ocr.ReadScreenShot(inputScreenshot);
// Output screenshot information
Console.WriteLine(result.Text);Imports IronOcr
Imports System
Imports System.Linq
' Instantiate OCR engine
Dim ocr = New IronTesseract()
Using inputScreenshot = New OcrInput()
inputScreenshot.LoadImage("screenshotOCR.png")
' Perform OCR
Dim result As OcrPhotoResult = ocr.ReadScreenShot(inputScreenshot)
' Output screenshot information
Console.WriteLine(result.Text)
End Using시작할 준비 되셨나요?
Nuget Downloads 6,236,385|버전:2026.9방금 출시