Eggplant OCR is unable to read the dynamic text efficiently and clearly
Hi,
I am automating a process of validating dynamic text present in one of the application and Eggplant OCR is unable to fetch the correct text from the application. For example : "flu" is fetched as "hu" , "to" is fetched as "fo" ..etc.
I tried to using "ValidWords" and "ValidCharacters " Properties ,which was not of much help. This worked for few ,but not for all the texts.
Following are the line of code which i used to read the text form the application.
1. put ReadText((build),EnableAggressiveTextExtraction:Yes,Contrast: On, ContrastColor:Black,ContrastTolerance: 70,ValidWords:Response1,IgnoreNewLines:Yes,CaseSensitive: Yes,)into Resp1
2. put ReadText((build),EnableAggressiveTextExtraction:Yes,Contrast: On, ContrastColor:Black,ContrastTolerance: 70,ValidCharacters:Response1,IgnoreNewLines:Yes,CaseSensitive: Yes,)into Resp1
build- contains the search-rectangle co-ordinates from where the text has to be read.
Response1: Contains valid words
resp1- contains the text which is read from the application.
Kindly let me know if anyone has faced issue while reading the dynamic text and if any resolution to overcome this issue.
Thanks.
Ash.
I am automating a process of validating dynamic text present in one of the application and Eggplant OCR is unable to fetch the correct text from the application. For example : "flu" is fetched as "hu" , "to" is fetched as "fo" ..etc.
I tried to using "ValidWords" and "ValidCharacters " Properties ,which was not of much help. This worked for few ,but not for all the texts.
Following are the line of code which i used to read the text form the application.
1. put ReadText((build),EnableAggressiveTextExtraction:Yes,Contrast: On, ContrastColor:Black,ContrastTolerance: 70,ValidWords:Response1,IgnoreNewLines:Yes,CaseSensitive: Yes,)into Resp1
2. put ReadText((build),EnableAggressiveTextExtraction:Yes,Contrast: On, ContrastColor:Black,ContrastTolerance: 70,ValidCharacters:Response1,IgnoreNewLines:Yes,CaseSensitive: Yes,)into Resp1
build- contains the search-rectangle co-ordinates from where the text has to be read.
Response1: Contains valid words
resp1- contains the text which is read from the application.
Kindly let me know if anyone has faced issue while reading the dynamic text and if any resolution to overcome this issue.
Thanks.
Ash.
0
Comments