Re: [Sikuli-driver] [Question #248324]: sikuli-java: findAll() with a small image returns false matches

2014-05-14 Thread Pathiyil
Question #248324 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/248324 Status: Answered = Open Pathiyil is still having a problem: Thanks for the detailed explanation. The 'yes' and 'no' images were of dimension 24 X 15. Even when there was one 'yes' and a few 'no' on the

Re: [Sikuli-driver] [Question #248324]: sikuli-java: findAll() with a small image returns false matches

2014-05-14 Thread RaiMan
Question #248324 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/248324 Status: Open = Answered RaiMan proposed the following answer: the code sample at the end of comment #4 is how to do it. -- You received this question notification because you are a member of Sikuli

Re: [Sikuli-driver] [Question #248324]: sikuli-java: findAll() with a small image returns false matches

2014-05-14 Thread Pathiyil
Question #248324 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/248324 Pathiyil posted a new comment: Does that mean that Pattern.exact(image) causes the search algorithm to be cognizant of the color as well ? (or is it simply that using minSimilarity of 1.0, it will identify

Re: [Sikuli-driver] [Question #248324]: sikuli-java: findAll() with a small image returns false matches

2014-05-14 Thread RaiMan
Question #248324 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/248324 RaiMan proposed the following answer: The OpenCV.matchTemplate is always used the same way, only in case of exact(), the images (base image and searched image) are taken in their RGB representation (3

Re: [Sikuli-driver] [Question #248324]: sikuli-java: findAll() with a small image returns false matches

2014-05-09 Thread RaiMan
Question #248324 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/248324 RaiMan proposed the following answer: 1. if both images (yes and no) are visible on the screen and you take an image of yes to search, the match should select yes in any case (provided, that the image shot

[Sikuli-driver] [Question #248324]: sikuli-java: findAll() with a small image returns false matches

2014-05-07 Thread Pathiyil
New question #248324 on Sikuli: https://answers.launchpad.net/sikuli/+question/248324 Hi, I am using sikuli-java and doing a search with a small image. With the default similarity setting of 0.7, it gives a number of false matches. I had to bump up the similarity to 0.8 for it to give the

Re: [Sikuli-driver] [Question #248324]: sikuli-java: findAll() with a small image returns false matches

2014-05-07 Thread Eugene S
Question #248324 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/248324 Status: Open = Answered Eugene S proposed the following answer: Hi there, Actually there's a pretty good way to find out what was the actual similarity for each recognized image. To find that just use

Re: [Sikuli-driver] [Question #248324]: sikuli-java: findAll() with a small image returns false matches

2014-05-07 Thread Pathiyil
Question #248324 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/248324 Pathiyil posted a new comment: Hi Eugene, I did use highlight and I could see what the false matches were. But the images are quite different. I have not seen such an issue with larger images, which is

Re: [Sikuli-driver] [Question #248324]: sikuli-java: findAll() with a small image returns false matches

2014-05-07 Thread Eugene S
Question #248324 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/248324 Eugene S posted a new comment: Hi, Yes, you're right. According to my experience with Sikuli, it doesn't have any color detection mechanism so usually a color difference will not trigger any similarity