User manual

V002450_25_CR1200-CR2-CR3-CR2500-CR3500_Interface_Configuration_Document_CLIENT.docx
2011-04-27 Page 50 of 65
© 2011 The Code Corporation
14870 S. Pony Express Rd., Suite 200, Bluffdale, UT 84065
(801) 495-2200
FAX (801) 495-0280
specifics of the text to read. This allows the software to distinguish the text of interest from random text
that may be present in the same image. In addition, the OCR decoder supports a checksum capability to
reduce the probability of misreads.
Multiple templates may be active at the same time for more user flexibility.
12.2 OCR Overview
The following OCR characters are currently supported:
OCR-A:
ABCDEFGHIJKLMNOPQRSTUVWXYZ
0123456789
#$&()*+-./<>@\£¥
OCR-B:
ABCDEFGHIJKLMNOPQRSTUVWXYZ
0123456789
#$&()*+-./<>@\£¥
The templates define the OCR font as well as the layout of the text in a row, column format. Each row
can have up to 50 chars, with up to 18 rows in a template. However, the total number of characters can
not exceed 320 characters. Within each character position, the allowable characters can be specified
either through explicit ASCII values, groups of ASCII values, wildcard characters, or combinations of
these types. To achieve better OCR results, it is desirable to limit the values that a character position can
take to the known values that will occur in an application.
The OCR decoder can also handle spaces within OCR text with some restrictions. Internal gaps longer
than one space are not allowed in templates. For example, the OCR-A text
ONE SPACE
is valid because there is only one space between the E and S in the text. However, the following text is
illegal given the two spaces between the O and S:
TWO SPACES
The OCR decoder can handle arbitrary number of spaces at the beginning and end of a line. These
spaces must be explicitly included in the template with the ASCII value of a space (32) and not be
included as part of a group or wildcard character.
The OCR decoder also provides a checksum capability to reduce the probability of misreads. There are
two types of checksums provided: row and block. A row checksum provides a checksum for all