IRONSOFTWAREHOME
Tesseract 5 for .NET
using IronOcr;
using System;

var ocrTesseract = new IronTesseract();

// This is done by default and can be omitted:
// ocrTesseract.Configuration.TesseractVersion = TesseractVersion.Tesseract5;

using var ocrInput = new OcrInput();
ocrInput.LoadImage(@"images\image.png");
var ocrResult = ocrTesseract.Read(ocrInput);
Console.WriteLine(ocrResult.Text);
Imports IronOcr
Imports System

Dim ocrTesseract = New IronTesseract()

' This is done by default and can be omitted:
' ocrTesseract.Configuration.TesseractVersion = TesseractVersion.Tesseract5

Using ocrInput = New OcrInput()
    ocrInput.LoadImage("images\image.png")
    Dim ocrResult = ocrTesseract.Read(ocrInput)
    Console.WriteLine(ocrResult.Text)
End Using
NuGet Download
PM > Install-Package IronOcr
Tesseract 5 for .NET

Tesseract 5 for .NET

在現代企業和國際商務中,數位文件是標準化的,擁有能夠識別和提取多國語言的OCR引擎是成功操作文件的關鍵組成部分。

Tesseract 5是當時任何語言中最先進的程式庫。然而,它具有一些警告:由於進入門檻較高,實現起來不容易,且使用上可能較為困難。

然而,IronOCR填補了這一空白,使得無論是初學者還是有經驗的開發者,都能在簡單的程式庫中使用Tesseract 5。 此外,IronOCR是唯一已知的適用於Tesseract 5 OCR的.NET程式庫,並具有.NET Framework、Standard、Core、Xamarin和Mono的跨相容性。

您可以從這個連結下載文件專案。

這段步驟性程式碼展示了如何使用 Tesseract 5 實施 IronOCR:

這份簡要指南提供了在.NET應用程式中使用 IronOCR 整合 IronTesseract 的直接方法。

Explore More on Implementing IronTesseract in C#
在GitHub上查看

準備開始了嗎?

Nuget Downloads 6,279,416版本:2026.10剛剛發布

Key in blue circle

立即免費取得 30 天試用金鑰。

Your trial license will be sent to your email address

無任何限制。100% 解鎖。無需信用卡。

bullet_checked無需信用卡或建立帳號無任何限制。100% 解鎖。無需信用卡。
  • Logo Aetna
  • Logo NASA
  • Logo GE
  • Logo Porsche
  • Logo USDA
  • Logo Qatar
Join Millions of Engineers who’ve tried IronOCR
預訂您的免費線上演示
Booking Badge

受到全球數百萬工程師的信任

Iron Software的客戶標誌
獲取您的無義務咨詢
您的詳細資訊將始終保密。
  • Logo Aetna
  • Logo NASA
  • Logo GE
  • Logo Porsche
  • Logo USDA
  • Logo Qatar
受到全球數百萬工程師的信任
立即獲取您的30天試用金鑰。
無需信用卡或帳戶建立
C# PDF的NuGet程式庫
使用NuGet安裝

版本: 2026.10

PM > Install-Package IronOcr
nuget.org/packages/IronOcr/
  1. 在解決方案資源管理器中,右鍵點擊參考,管理NuGet包
  2. 選擇瀏覽並搜尋"IronOCR"
  3. 選擇包並安裝
C# PDF DLL
下載 DLL

版本: 2026.10

或這裡下載Windows安裝程式。

  1. 下載並解壓IronOCR至您的方案目錄下的~/Libs等位置
  2. 在Visual Studio解決方案資源管理器中,右鍵點擊參考。選擇瀏覽,"IronOCR.dll"

授權從$999