← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #700621]: Extracting availability from calendar image

 

Question #700621 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/700621

Mike posted a new comment:
SikuliX looks for images which could be anywhere. You are not really
looking for images but rather the absence of something ie text and
coloured backgrounds.

Your application looks entirely fixed  so you could navigate it purely
by location. It won't be trivial because you have a lot of
fields/regions that are in play.

It seems to me that the critical feature is the background colour of the
slot you are navigating. You are trying to identify which slots are
white (free) rather than coloured (not free).

Unfortunately SikuliX doesn't seem to have an ability to report a
location's RGB numbers.

You might want to look at  pyautogui. It is somewhat like SikuliX except
it can only handle pixel-perfect 100% image matches, but it does let you
pick up the colour so you could then deduce which slots were booked and
which were free.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.