IRONSOFTWAREHOME
MICR小切手を読む
using IronOcr;
using IronSoftware.Drawing;
using System;

// Create a new instance of IronTesseract for performing OCR operations
var ocr = new IronTesseract();

// Set the OCR language to MICR to recognize magnetic ink characters
// Must have MICR (IronOcr.Languages.MICR) installed beforehand
ocr.Language = OcrLanguage.MICR;

// Specify the file path of the input image containing MICR text
using (var input = new OcrInput())
{
    // Specify the MICR of the image to focus on for OCR (coordinates in pixels)
    var contentArea = new Rectangle(x: 124, y: 238, width: 309, height: 13);
    // Load the image with the defined content area
    input.LoadImage("micr.png", contentArea);
    // Run the OCR engine to read the MICR text from the input image
    var result = ocr.Read(input);

    // Output the recognized text to the console
    Console.WriteLine(result.Text);
}
Imports IronOcr
Imports IronSoftware.Drawing
Imports System

' Create a new instance of IronTesseract for performing OCR operations
Dim ocr = New IronTesseract()

' Set the OCR language to MICR to recognize magnetic ink characters
' Must have MICR (IronOcr.Languages.MICR) installed beforehand
ocr.Language = OcrLanguage.MICR

' Specify the file path of the input image containing MICR text
Using input = New OcrInput()
    ' Specify the MICR of the image to focus on for OCR (coordinates in pixels)
    Dim contentArea = New Rectangle(x:=124, y:=238, width:=309, height:=13)
    ' Load the image with the defined content area
    input.LoadImage("micr.png", contentArea)
    ' Run the OCR engine to read the MICR text from the input image
    Dim result = ocr.Read(input)

    ' Output the recognized text to the console
    Console.WriteLine(result.Text)
End Using
NuGet Download
PM > Install-Package IronOcr
MICR小切手を読む

MICR小切手を読む

小切手は重要な取引を処理するための信頼できる方法です。 IronOCR を使用すると、E-13B MICR 小切手を確実に処理し、銀行預金やその他の財務ワークフローを自動化できます。 専用エンジンは、ルーティング番号、口座番号、小切手番号などの重要な情報に対して最高の精度を実現するように調整されています。

次のコード例は、わずか数ステップの簡単な手順で MICR 小切手をスキャンする方法を示しています。

コードの説明

MICRチェックを読み取るためには、IronOCRが特にMICRチェック用の読み取りであることを認識するようにOcrLanguage.MICRに設定する必要があります。 ただし、使用前にOcrLanguage.MICRパッケージをインストールする必要があります。さもなければエラーが発生します。

その後、OCR 領域として長方形を定義し、IronOCR が MICR 小切手の MICR 部分を検索するように指定して、最高の精度を確保します。

その後、前の行で定義された内容領域とともに、小切手画像をロードするためにLoadImageを呼び出します。 最後に、サンプル小切手画像をスキャンするためにReadメソッドを呼び出します。 次に、OCR プロセスから抽出されたテキストを印刷します。

弊社の包括的な C# ガイドを使用して、MICR 小切手認識のパワーを解き放ちましょう。
GitHubで見る

準備はできましたか?

Nuget Downloads 6,236,385バージョン:2026.9リリースされたばかり

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 IronPDF
義務のない相談を受ける
下記のフォームを記入するか、sales@ironsoftware.comにメールしてください。
あなたの詳細は常に守秘されます。
世界中の数百万人のエンジニアから信頼されています。
ライセンスはより安く
あなたの無料30日間の試用キーをすぐに入手。
クレジットカードやアカウントの作成は不要です。