C#으로 구현한 Tesseract OCR
- C#에서 Tesseract를 사용하여 텍스트를 읽으세요.
- VB.NET 사용 지원 .NET용 Tesseract
- 사용 방법을 알아보세요 Tesseract 튜토리얼
또는 DLL을 직접 여기서 다운로드하세요
OCR을 이용한 이미지 텍스트 변환
코드 예제 모두 보기using IronOcr;
var ocr = new IronTesseract();
using var input = new OcrInput();
input.LoadImage("attachment.png");
input.LoadPdf("report.pdf");
OcrResult result = ocr.Read(input);
string text = result.Text;
Dim ocr = New IronTesseract()
Using input = New OcrInput()
input.LoadImage("attachment.png")
input.LoadPdf("report.pdf")
Dim result As OcrResult = ocr.Read(input)
Dim text As String = result.Text
End UsingDim ocr = New IronTesseract()
Using input = New OcrInput()
input.LoadImage("attachment.png")
input.LoadPdf("report.pdf")
Dim result As OcrResult = ocr.Read(input)
Dim text As String = result.Text
End Using