在C#中使用Tesseract OCR
- 使用Tesseract 讀取C#中的文字
- 支持VB.NET的使用 Tesseract for .NET
- 學習如何使用 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 Using