Set character size – Rockwell Automation 5370-OCR2 PAK User Manual

Page 31

Advertising
background image

Chapter 4

OCR Tool Configuration

4–12

The character size of an OCR Tool is used to determine the scale factor
used during the processing of the OCR Tool. The inspected image will be
scaled so that the characters become 32x32 pixels in size for image
processing purposes. You must correctly set the Character Size before
editing a new font.

Before setting the Character Size, adjust the Threshold so that the characters
appear black and the background appears white. Use the Character Size
panel to define the scale of the OCR Tool.

Character
Size Box

Character
Size Panel

When you select the Auto button, a Character Size box is automatically
placed around the character having the largest width. The Auto function
works only on black characters on a white background. The height of the
box will be the median height of the characters inside the window.

Note: The Auto function only processes the first 32 characters in the OCR
Tool window to determine the maximum width and median height.

Set Character Size

Advertising