I am searching using OCR and getting a result i was not expecting. Looking at the tuner we can see that 2 instances of the same string are being interpreted differently, one having it’s space stripped out
That seems peculiar to me as well, but not out of character for what I have seen before. Because I am unable to look at the underlying code, the best that I can do is offer an educated guess as to why it is happening along with a potential solution to your issue.
I think that why it is happening is related to how kerning is being interpreted by the OCR engine. I believe that the engine is expecting the capital R and capital C to be kerned more tightly, and they are not kerned at all.
If you are trying to locate “NCIR Code” in the SUT window (e.g. ImageFound, ImageLocation), I would recommend adding the ignoreSpaces property. I expect that you are trying to read the code adjacent to the field, and this solution will resolve that problem. If, however, you are trying to capture the field name, you might use validWords:"*" instead if the phrase is already expected.
The display is not set as anything specific in windows, but the resolution is set to 1024x768, which is a dpi of 82. Given this should i be setting all our OCR attempts to be 144, given that we cannot select a resolution-specific DPI?
This is interesting, Paul, and I will need to do some experimenting. “In days of old,” I learned that changing the DPI was only necessary if you were establishing a connection to a device that had a higher pixel density.