スキャンされたドキュメントを読む
このコード例では、IronTesseract OCR(光学式文字認識)エンジンを使用して、画像からテキストを抽出する方法を示します。
準備はできましたか?
Nuget ダウンロード 5,299,091 | バージョン: 2025.12 リリース
using IronOcr;
using System;
// Instantiate OCR engine
var ocr = new IronTesseract();
// Configure OCR engine
using var input = new OcrInput();
input.LoadImage("potter.tiff");
// Perform OCR
OcrResult result = ocr.ReadDocument(input);
Console.WriteLine(result.Text);Install-Package IronOcr
このコード例では、IronTesseract OCR(光学式文字認識)エンジンを使用して、画像からテキストを抽出する方法を示します。