.NET OCR库
- 商业 OCR 库用于 ASP.NET
- 对 C# 和 VB .NET
- 文档支持用于 C# PDF 光学字符识别
或者直接在此处下载 DLL
using OCR 将图像转换为文本
查看所有%s代码示例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