MICR numbers

The banking industry uses Magnetic Ink Character Recognition Code (MICR Code) technology to ease the processing and clearance of cheques and other documents.

The MICR encoding, called the MICR line, is at the bottom of cheques and other vouchers and typically includes the document-type indicator, bank code, bank account number, cheque number, cheque amount, and a control indicator. The technology allows MICR readers to scan and read the information directly into a data-collection device.

Unlike barcodes and similar technologies, MICR characters can be read easily by humans. Diferent MICR fonts has been adopted as international standard and widely used in Europe, Brazil and Mexico.

DevScope OCR SDK 2.0 provides a fast way to efficiently read those codes like the numbers in a special MICR font and a sample from a check

OCR A/B numbers & codes

As another variation, the checks may not have a MICR code but insted they contain the OCR-A and OCR-B numbers responsible for several codifications such as account encoding.

OCR-A/B fonts are monospace fonts. Their function is to facilitate the optical character recognition operations by specific electronic devices.

They have been created, besides other targets, to facilitate in recognizing data from financial features, bank-oriented documents. In this version we only included numbers and a few more chars because of specifically targeting the bank environment.

DevScope OCR SDK 2.0 also provides a fast way to efficiently read OCR-A/B but we have limied the dictionary and the recognition to only numbersand a few more chars. 

Buy Now Full Version

Download v2.0.0

Download MICR + OCR A/B Dictionary


Recognized Symbols by MICR

Character Symbol (alike) Output
Transit / Route |: [
On-US / Account ||# @
Dash lll -
Cheque Amount .l' $


Recognized Symbols by OCR AB

Numbers Other chars
0123456789 < > # +


Using MICR and OCR A/B in OCR SDK 2.0

To enable the reading of MICR or OCR A/B fonts using DevScope OCR SDK, please proceed as following:

  • Download the MICR-OCRA/B dictionaries* , unzip-it  and place its content under the "tessdata" folder of your app.
  • Create an instance of the Ocr Engine and initialize it by specifiying the language (a 3 letter iso code) as :
    • "mcr" for MICR,
    • "oab" for OCR A/B or
    •  "mcr+oab" for using both dictionaries at the same time.
  • Set the "AreaToScan" of the TesseractOcrJobRequest to limit the ocr to the specific area of the check that contains the MICR codes
  • Execute the DoOcr and get the results.
* the micr dictionary was based on the excelente work of Hunter Beanland (hunter @ beanland.net.au).