Forum Discussion
I forgot to mention you should also disable font smoothing. instructions:
https://support.smartbear.com/testcomplete/docs/testing-with/advanced/ocr/tips.html
Hi , Thanks for the reply ,
I tried the above options, I set OCROptions.ActiveRecognitionSet = 1; and also captured aliases testObj.picture with coordinates and also removed the smooth edges of the screen fonts as mentioned in the link.
Now when I try to run my script it always prints 00. and not the exact number on the picture. I tried with pictures of mutiple combinations of numbers but still it always prints 00.
- jab47436 years agoContributor
Before the log was showing .' and now it is showing 00? This indicates that either the testObj.Picture is defined incorrectly or you need to load additional font options in the OCROPtions. I assume you tested with OCROptions.ActiveRecognitionSet = 0 and also saw 00 in the log? You might also consider that OCR cannot read your field. Are you using OCR for any other fields - if yes - does it work on the other fields?
Related Content
- 9 years agotwhitehouse
- 6 years agoBoo
Recent Discussions
- 2 days agoGane195