← Back to team overview

sikuli-driver team mailing list archive

[Question #157699]: Can't get Sikuli to match colors

 

New question #157699 on Sikuli:
https://answers.launchpad.net/sikuli/+question/157699

  I'm trying to get Sikuli to match a rating of "four gold stars" on a Netflix page (e.g. https://www.netflix.com/WiViewingActivity?all=true if you have a netflix account).  The pattern includes 4 stars with a gray border and a gold interior followed by a fifth star that has a gray border and a white interior.
  There are 30 movies listed on the page. 7 have a rating of 4 gold stars, and one has a rating of 4 red stars. 
  With similarity set at 0.97, 3 of the correct matches are found and 4 are not found, even though they seem to be identical. 
  With similarity set at 0.96, the 4 false negatives are still not found, but 3 incorrect matches are found where five gold stars appear: the rightmost 4 gold stars plus the completely blank space to the right are seen as a match to the pattern.  
  If the similarity is set to 0.92, there is an additional match to 4 red stars, but the 4 false negatives are still not found.
  
  Is there any way to get Sikuli to successful match "four gold stars"?
  Almost every time I use Sikuli, I would get great results using a pure pixel-by-pixel exact match. If you could include this as an alternative pattern matcher, I think many users would find it valuable.

I'm using X-1.0rc2 on a Mac.
  

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.