beautypg.com

Rockwell Automation 5370-OCR2 PAK User Manual

Page 83

background image

Appendix B

Compensating for Lighting Variations

B–4

7. Setup Tool 2 as shown below:

8. Set the operation to S1-S2.

9. Use P&P AOI 1 to position AOI 1 to the same position as tool 1 (use

information obtained in step 3).

10. Use P&P AOI 2 to position AOI 2 to:

X = 0
Y = 0
Length = Tool 1 Length
Height = Tool 1 Height

11. Set the lookup table to Sign by selecting LUT in the Image Tool Edit

panel.

12. Tool 3 is an OCR Tool that uses the Tool 2 destination image. Setup the

OCR Tool as described in this manual. The character recognition will be
relatively insensitive to lighting variations.