New Tool Radar

AI PDF

How to Check MICR Routing and Account Numbers on a Scanned Cheque

Check the MICR routing and account numbers OCR reads from a scanned cheque against the printed cheque.

Schematic illustration of a MICR check: run OCR on the cheque, read the routing number, and read the account number.

The MICR line at the bottom of a cheque holds the routing number and the account number in a special magnetic-ink font, and OCR can misread those characters, especially the transit symbols. A wrong routing number sends money to the wrong bank. This guide checks the MICR line on one cheque.

Prerequisites

A scanned cheque PDF and an OCR tool. Cheques carry sensitive account data, so work on a private copy and delete it when done.

Steps

1. Run OCR on the cheque

Run OCR on the cheque and save the text. Expected result: the MICR line becomes selectable text.

2. Read the routing number

Read the nine-digit routing number from the OCR text. Expected result: the routing number reads 021000021.

3. Read the account number

Read the account number from the OCR text. Expected result: the account number reads 0048123907.

4. Compare both numbers with the cheque

Compare the routing and account numbers with the printed cheque. Expected result: both numbers match the printed cheque digit for digit.

Practice check: fictional scanned cheque, MICR line check

The table below is fictional practice material. It lists the two MICR numbers to check.

Field Value
Routing number 021000021
Account number 0048123907
Cheque number 1042

Expected result. both MICR numbers match the printed cheque: routing 021000021 and account 0048123907.

Limits

  • MICR characters use a special font that general OCR handles poorly, so a mismatch means reading the line by eye, not trusting a second OCR pass.
  • UNTESTED – no OCR tool or AI tool was run; all results above are expected results. The practice file is fictional.

Sources

See all