IronOCR

C# 的 PDF OCR

  1. 扩展 PDF 的能力 C# 的 Tesseract
  2. 在 C# 中读取文本和条形码 (OCR) PDFs
  3. 支持 C# 和 VB.NET

或者直接下载 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;
NuGet Downloads Badge
PM >Install-Package IronOcr