OCR SDK Knowledge Base

Article ID: 1090 | Category: Recognition | Type: How To | Last Modified: 9/18/2015

Recognizing CMC-7

Description

How can I recognize the MICR CMC-7 barcode font?

Solution

1. Set the text type to TT_MICR_CMC7 using IRecognizerParams::TextTypes.
2. CMC-7 contains only digits and A, B, C, D and E characters, so setting a "stricter" recognition language than English may prove beneficial. To exclude all characters not used in CMC-7, set the recognition language to CMC7.

C# sample:

// Create document
FREngine.FRDocument document = engineLoader.Engine.CreateFRDocument();
// Add image file to document
//... //Set page processing params
FREngine.PageProcessingParams p = engineLoader.Engine.CreatePageProcessingParams();
p.RecognizerParams.SetPredefinedTextLanguage("CMC7"); //specify the language
p.RecognizerParams.TextTypes = (int)FREngine.TextTypeEnum.TT_MICR_CMC7; //specify the text type
               
//Recognize document
document.Process(p, null, null);
390 people think this is helpful.
Was this information helpful to you?

Related Forum Questions

read the CMC 7 font from an android app

Hi, how to read the CMC 7 font from an android app , actually the simple app can't read this font...

OCR Cloud cut my image

Hello! I have strange problem with recognizing one bill from the shop. Bill has next format: n....

More related questions on Forum