フッターコンテンツにスキップ

文書読み取り

IronOCRを使用して請求書やレポートから正確にテキストとデータを抽出し、機能の構築を迅速化します。

Icon Main related to 文書読み取り
文書読み取り

1

スキャン文書の読み取り

物理的な文書や画像ベースのPDFを機械可読テキストに正確にデジタル化します。検索可能なアーカイブの作成、紙のフォームからのデータ入力の自動化、スキャンしたコンテンツへのアクセスやインデックス作成に最適です。当社のエンジンは、一般的なスキャンの不完全性の処理に優れています。

次の方法を学んでください:C# でスキャンされたドキュメントを読み取る
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);
C#
2

請求書文書を読む

請求書から構造化データをインテリジェントに抽出することで、買掛金のワークフローを自動化します。単純なテキスト抽出にとどまらず、請求書番号、支払期日、合計金額、ベンダー名などのキーと値のペアを、さまざまなレイアウトやテンプレートでも取得できます。

ドキュメント内の複雑なテーブルを読み取る
using IronOcr;

// Instantiate OCR engine
var ocr = new IronTesseract();

// Enable table detection
ocr.Configuration.ReadDataTables = true;
using var input = new OcrPdfInput("sample.pdf");
var result = ocr.Read(input);

// Retrieve the data
var table = result.Tables[0].DataTable;

// Print the retrieved item to the console
Console.WriteLine($"The first item in the table is: {result.Tables[0].DataTable.Rows[0][0]}");
C#
3

写真を読む

スマートフォンの写真やカメラの画像を使用可能なテキストに変換します。経費追跡のために領収書をキャプチャしたり、ホワイトボードのメモをデジタル化したり、製品ラベルから情報を抽出したり、道路標識やポスターからテキストを読み取ったりするモバイルアプリケーションに最適です。

C#で写真を読み取る
using IronOcr;

var ocr = new IronTesseract();
using var inputPhoto = new OcrInput();
inputPhoto.LoadImageFrame("ocr.tiff", 0);

// Read photo
OcrPhotoResult result = ocr.ReadPhoto(inputPhoto);

// Extract the text in the first region
string textinregion = result.TextRegions[0].TextInRegion;

// Print the text in the first region 
Console.WriteLine($"Full Scnned Photo Text: {textinregion}");
C#
4

スクリーンショットを読む

アプリケーションウィンドウ、ユーザーインターフェイス、Webコンテンツから画面上のテキストを即座にキャプチャして処理します。他のアプリケーションのUI要素を読み取り、他のアプリケーションとシームレスに統合します。

C#でスクリーンショットを読み取る
using IronOcr;
using System;
using System.Linq;

// Instantiate OCR engine
var ocr = new IronTesseract();
using var inputScreenshot = new OcrInput();
inputScreenshot.LoadImage("screenshotOCR.png");

// Perform OCR
OcrPhotoResult result = ocr.ReadScreenShot(inputScreenshot);

// Output screenshot information
Console.WriteLine(result.Text);
C#
準備はできましたか?
Nuget ダウンロード 5,167,857 | Version: 2025.11 リリース