LEADTOOLS Support
Document
Document SDK Examples
HOW TO: Extract MICR information using the RecognitionEngine
#1
Posted
:
Monday, December 4, 2017 10:24:51 AM(UTC)
Groups: Registered, Tech Support, Administrators
Posts: 70
Was thanked: 4 time(s) in 4 post(s)
The LEADTOOLS CloudServices RecognitionEngine interface provides a high-level method to extract MICR information from a file. The ExtractMicr method will return a dictionary containing all of the information extracted from the file. This dictionary is structured just like the Results property of the BankCheckReader class.
Code:
var inputStream = File.Open(@"bankcheck.jpg", FileMode.Open);
LoadDocumentOptions loadOptions = new LoadDocumentOptions()
{
FirstPageNumber = 1,
LastPageNumber = 1
};
RecognitionEngine recognitionEngine = new RecognitionEngine();
IOcrEngine engine = OcrEngineManager.CreateEngine(OcrEngineType.LEAD, false);
engine.Startup(null, null, null, @"path/to/OCR Bin Directory");
var micrData = recognitionEngine.ExtractMicr(inputStream, loadOptions, engine, null);
BankCheckReader class:
https://www.leadtools.co...checkreader-results.htmlEdited by user Friday, December 29, 2017 4:24:21 PM(UTC)
| Reason: Not specified
Duncan Quirk
Developer Support Engineer
LEAD Technologies, Inc.
![LEAD Logo LEAD Logo](https://www.leadtools.com/images/new-site-images/leadtools-logo-header.png)
LEADTOOLS Support
Document
Document SDK Examples
HOW TO: Extract MICR information using the RecognitionEngine
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.