There might be an icon on that window that you can capture an image of, using it as an anchor for your image-defined search rectangle. For instance, the text might appear in a window that does not always display on the same location on the SUT screen. Using images is ideal because it allows the location of the rectangle to be dynamic as elements display in different places on the SUT screen. The hot spot of the captured image defines the point used (see Using the Hot Spot for more information on moving this point). Search rectangles are typically defined using images, though coordinates can also be passed to this property. When OCR searches the entire screen, it is not only slower, but it can also be less accurate because it is more likely to come up with extra possible matches or no matches at all. It is almost always helpful to add a search rectangle, which limits what part of the screen OCR searches. For more information, see Improving the Speed of OCR Searches. For more about troubleshooting OCR searches, see Troubleshooting OCR.Įach of the following methods might be used to improve OCR recognition or speed up searches. Use the OCR Tuner to play around with properties and see what works. Try using them individually first, then add properties as needed.
Sometimes removing a property is necessary. If a search doesn't work, it can be tempting to keep adding properties, but that is not always the best approach. When using properties to tailor your OCR search, it is important to carefully consider which properties to use, and how many.
WINDOWS OCR FONT FULL
For a full list of OCR properties, as well as information on which properties can be used for reading text vs. Using a tailored OCR search improves the reliability of the search and helps you get the best results. SenseTalk includes a number of text properties that allow you to tailor your OCR searches to your situation and environment. Succeeding with OCR: Using The Most Common OCR Properties Failed Searches: Enabling the OCR Update Panel and OCR Tuner.Succeeding with OCR: Using the Most Common OCR Properties.