Problems with Image Recognition and OCR.


Thanks to SchneiderAPL we have a ‘fix’. By forcing the OCR or image search to a particular area by using Set Search Rectangle we have gotten the code to work once again!

Our application uses several Java windows and a map that is not Java based, even though it was supposed to search the entire display it seems the search engines were primarily focused on the Java based windows. When the search rectangle was set to the map area it found the image and text with no issues. When the rectangle was set to default () or I put in the coordinates for the entire screen then it was hit or miss on detecting images & text that were in the map window.