Can't get Sikuli to match colors

Asked by acypher

  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.

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

could you send me a screenshot of the respective Netflix page to my mail at https://launchpad.net/~raimund-hocke.

I will make you a suggestion, how to solve the problem.

Can you help with this problem?

Provide an answer of your own, or ask acypher for more information if necessary.

To post a message you must log in.