一行代码中的OCR
using IronOcr;

string imageText = new IronTesseract().Read(@"images\image.png").Text;
NuGet下载
PM > Install-Package IronOcr
一行代码中的OCR

一行代码中的OCR

IronOCR 独特在于能够自动检测并读取从不完美扫描的图像和PDF文档中的文本。 IronTesseract 类提供了最简单的API。

尝试其他代码示例,以获得对 C# OCR 操作的更精细控制。

IronOCR 提供了在任何平台上最先进的 Tesseract 构建,具有更快的速度、准确性,以及本机DLL和API。

支持 Tesseract 3, Tesseract 4 和 Tesseract 5,适用于.NET Framework、Standard、Core、Xamarin和Mono。

探索 IronTesseract C# OCR 操作指南
在GitHub上查看

准备开始了吗?

NuGet 下载量 6,411,693版本:2026.11刚刚发布