Skip to content

Optical Character Recognition for cheques using the MICR Code standard.

Notifications You must be signed in to change notification settings

reactual/cheque-ocr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cheque-ocr Build Status

Optical Character Recognition for cheques using the MICR Code standard.

Input Output
{
  confidence: '86.748',
  numbers: {
    transit: '00502',
    institution: '010',
    account: '705555'
  }
}

Installation

  • Required: node v6.8.0 or greater
  • Recommended: n and avn
  • To install, run npm install cheque-ocr [TODO]

Usage

var chequeOCR = require('cheque-ocr'),
    fs = require('fs');

var image = fs.readFileSync('/path/to/image.jpg');
chequeOCR(image, function(err, result) {
  console.log(err, result);
});

For a demo, run node examples/basic.js.

How it works

  1. [TODO] Normalize orientation of cheque image.
  2. Determine region of interest (ROI) where the MICR Code exists.
  3. Within ROI, use Tesseract to convert MICR Code to text.

Acknowledgements

MICR training data for Tesseract from BigPino67/Tesseract-MICR-OCR

About

Optical Character Recognition for cheques using the MICR Code standard.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published