Tesseract .NET OCR
- Tesseract OCR 实现 .net文本识别
- 结果为结构化数据或文本字符串
- 包含 Tesseract OCR 用于 C#
或直接在此下载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