高速OCR設定
using IronOcr;
using System;

var ocrTesseract = new IronTesseract();

// Fast Dictionary
ocrTesseract.Language = OcrLanguage.EnglishFast;

// Turn off unneeded options
ocrTesseract.Configuration.ReadBarCodes = false;

// Assume text is laid out neatly in an orthogonal document
ocrTesseract.Configuration.PageSegmentationMode = TesseractPageSegmentationMode.Auto;

using var ocrInput = new OcrInput();
ocrInput.LoadImage(@"images\image.png");

var ocrResult = ocrTesseract.Read(ocrInput);
Console.WriteLine(ocrResult.Text);
NuGet Download
PM > Install-Package IronOcr
高速OCR設定

高速OCR設定

この例では、精度が 0.2% 低下しますが、デフォルトの設定に比べて速度が 35% 以上向上します。

画像内の特定の領域をOCRする方法にも興味があるかもしれません。これは速度の大幅な向上にもつながります。

IronOCR は NuGet から、またはDLLとして直接ダウンロードできます。

Explore IronTesseract for Enhanced OCR in .NET
GitHubで見る

準備はできましたか?

Nuget Downloads 6,357,159バージョン:2026.11リリースされたばかり