Set your code aside for the moment, and run the NI OCR Training Interface, using the images that you are trying to work with. This will give you a better idea of how to use the teach VI's, and get better results.
It would help assist you if you post some of the images you are using.