Forum Discussion
My first guess is that you need to set the OCROptions.ActiveRecognitionSet value to 1 (since you are only interested in digits). My second guess is that you need to redefine the testObj. Hint: I use the image checkpoint as a cheat to figure out the x/y - height/width coordinates needed to create the picture object (Rect = testObj.Picture(x, y, height, width)) and the namemapping aliases object I need to use. I use the OCRObj.GetText(OCROptions)) or OCRObj.GetText()) to 'see' what text OCR 'sees'. If the text I am looking for isn't displayed - it ususally means either there is a special font I need to include in the OCROptions or my picture from Rect = testObj.Picture() is defined wrong. Hint - it is almost always the Rect = testObj.Picture() is defined wrong.
Related Content
- 9 years agotwhitehouse
- 6 years agoBoo
Recent Discussions
- 6 hours agoSvetaG