anoj,
Have you taken a look at the Vision Assistant's solution for Fusebox Inspections? If not, from
Help » Solution Wizard...,
you can find this exact inspection. Vision Assistant will generate a
Builder File, which is essentially Visual Basic pseudocode.
If this still doesn't solve the issue, can you indicate what you mean
by "inconsistent results?" Have you checked to make sure that you have
good lighting and a clear image? And for the OCR, how many characters
are you training?
Regards,
Brandon M.
Applications Engineer
National Instruments