Re: [Sikuli-driver] [Question #659142]: How to improve the image quality generated from PIL when compared to image captured by Sikuli?

2017-10-18 Thread RaiMan
Question #659142 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/659142 RaiMan proposed the following answer: if you used a Tesseract 3+ installation with the Tesseract command on a command line - then yes, this was my suggestion. To optimize your results, you have to take try t

Re: [Sikuli-driver] [Question #659142]: How to improve the image quality generated from PIL when compared to image captured by Sikuli?

2017-10-18 Thread srdat
Question #659142 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/659142 srdat posted a new comment: I tried to read the text from the image captured using tesseract outside sikulix, it identified few texts from the image and few it didn't. Please let me know if this is what you

Re: [Sikuli-driver] [Question #659142]: How to improve the image quality generated from PIL when compared to image captured by Sikuli?

2017-10-13 Thread RaiMan
Question #659142 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/659142 RaiMan proposed the following answer: might be, that my comment #4 was not clear enough: I suggested to use the Tesseract 3.x package outside of SikuliX after having it installed and made your tests from com

Re: [Sikuli-driver] [Question #659142]: How to improve the image quality generated from PIL when compared to image captured by Sikuli?

2017-10-13 Thread srdat
Question #659142 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/659142 srdat posted a new comment: I tried tesseract as per your suggestion but here also I'm not seeing a good results. It clicks for few texts and fails for few. If I reduce the similarity it works but it is not r

Re: [Sikuli-driver] [Question #659142]: How to improve the image quality generated from PIL when compared to image captured by Sikuli?

2017-10-11 Thread RaiMan
Question #659142 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/659142 Status: Open => Answered RaiMan proposed the following answer: If you are not satisfied with SikuliX's 1.1.x OCR quality and timing is not really a problem: Install Tesseract 3.x and use the tesseract o

Re: [Sikuli-driver] [Question #659142]: How to improve the image quality generated from PIL when compared to image captured by Sikuli?

2017-10-11 Thread Edmundo V. Neto
Question #659142 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/659142 Edmundo V. Neto posted a new comment: One way to generate text to be recognized would be to type all possible characters in the software you will use, capture and crop the characters individually and regenera

Re: [Sikuli-driver] [Question #659142]: How to improve the image quality generated from PIL when compared to image captured by Sikuli?

2017-10-10 Thread srdat
Question #659142 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/659142 srdat posted a new comment: yes, you are ccorrect! The image I generated from my lib is little different(at a very tiny level) than the application though I have used the same ttf. I think it has to be fixe

Re: [Sikuli-driver] [Question #659142]: How to improve the image quality generated from PIL when compared to image captured by Sikuli?

2017-10-09 Thread TestMechanic
Question #659142 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/659142 TestMechanic posted a new comment: I think you are wrongly assuming that your lib and application under test has same fonts and same rendering mechanism. Maybe there is another way to achieve your goal --

[Sikuli-driver] [Question #659142]: How to improve the image quality generated from PIL when compared to image captured by Sikuli?

2017-10-09 Thread srdat
New question #659142 on Sikuli: https://answers.launchpad.net/sikuli/+question/659142 What I'm doing is as below - My line of code in sikuli IDE as below testlibrary.click('ExcelDocument') I read the text(ExcelDocument) passed to click from the above line, generate a png image with the same te