Financial OCR in C# and .NET
Curtis Chau
Updated: 2026年4月23日
IronOCR は、.NET コーダーが金融を含む 126 の言語で画像や PDF ドキュメントからテキストを読み取ることを可能にする C# ソフトウェア コンポーネントです。
これはTesseractの高度なフォークであり、.NET開発者専用に構築され、速度と精度の両方で他のTesseractエンジンを定期的に上回ります。
IronOcr.Languages.Financialの内容
このパッケージには、.NET 用の 16 の OCR 言語が含まれています。
- 金融
ダウンロード
金融言語パック [金融] *Zip形式でダウンロード *NuGetでインストール
インストール
最初に、 Financial OCR パッケージを .NET プロジェクトにインストールする必要があります。
Code Example
この C# コード例は、画像または PDF ドキュメントから財務テキストを読み取ります。
// Import the IronOcr namespace
using IronOcr;
// Instantiate the IronTesseract OCR engine
var Ocr = new IronTesseract();
// Set the OCR language to Financial
Ocr.Language = OcrLanguage.Financial;
// Create an OCR input object, specifying the path to the image or PDF
using (var Input = new OcrInput(@"images\Financial.png"))
{
// Perform OCR to read text from the input
var Result = Ocr.Read(Input);
// Retrieve the extracted text
var AllText = Result.Text;
}' Import the IronOcr namespace
Imports IronOcr
' Instantiate the IronTesseract OCR engine
Dim Ocr As New IronTesseract()
' Set the OCR language to Financial
Ocr.Language = OcrLanguage.Financial
' Create an OCR input object, specifying the path to the image or PDF
Using Input As New OcrInput("images\Financial.png")
' Perform OCR to read text from the input
Dim Result = Ocr.Read(Input)
' Retrieve the extracted text
Dim AllText = Result.Text
End Using説明:
- Using IronOCR: この名前空間には、OCR処理に必要なすべてのクラスが含まれています。
- **IronTesseract クラス:**これは OCR タスクを有効にするメイン クラスです。
- 言語設定: 言語を
Financialに設定すると、OCRエンジンが金融用語を認識できるようになります。 - **OcrInput クラス:**処理する画像または PDF ファイルを指定するファイル パスを受け取ります。
- 読み取りメソッド:
Ocr.Read(Input)で実行され、提供された入力と言語設定に基づいて画像を処理し、テキストを取得します。 - **Result.Text:**画像または PDF から認識されたテキストを保存します。

テクニカルライター
Curtis Chauは、カールトン大学でコンピュータサイエンスの学士号を取得し、Node.js、TypeScript、JavaScript、およびReactに精通したフロントエンド開発を専門としています。直感的で美しいユーザーインターフェースを作成することに情熱を持ち、Curtisは現代のフレームワークを用いた開発や、構造の良い視覚的に魅力的なマニュアルの作成を楽しんでいます。
...
詳しく読む