Ocr tool edit panel – Rockwell Automation 5370-OCR2 PAK User Manual
Page 24

Chapter 4
OCR Tool Configuration
4–5
OCR Tool Edit Panel Components
The following describe the components of an OCR Tool Edit panel.
Font Name
Indicates the currently active font. No Font appears in the box until a font is
taught and added. Clicking in the Font Name box displays the Font
Selection panel which allows you to select previously taught fonts or create a
new font.
Gray Spaces
A gray space is a space (leading, trailing , or between characters) that
contains a percentage of black pixels exceeding a preset limit. A white space
contains a lower percentage (usually 0%) of black pixels. The black pixel
limit is set using the Define Spacing function (see page 5–20).
If you select Yes for the Gray Space option, the OCR Tool will distinguish
between gray and white space. If you select No, all spaces are treated as
white space.
Below are examples of using the Gray Spaces option:
ABC - 123
Use gray space to detect a hyphen since
hyphens are very difficult to teach.
ABC 123 x
Use gray space to detect any marking
that trails the match string.
Match String
OCR Tool Edit Panel