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