Pattern functions anySize() and anyColor() not implemented

Asked by j4ke on 2010-02-03

Hello,

I can't seem to get anySize() or anyColor() working with the Pattern class, it looks like they are using it in this example from http://docs.google.com/gview?url=http%3A%2F%2Fgroups.csail.mit.edu%2Fuid%2Fprojects%2Fsikuli%2Fsikuli-uist2009.pdf

x = Pattern(image).exact() - works
   click (x)
x = Pattern(image).similar(0.8) - works
   click (x)
x = Pattern(image).similar(0.8).anyColor() - AttributeError: anyColor
   click (x)
x = Pattern(image).similar(0.8).anyColor().anySize() - AttributeError: anyColor
   click (x)

I would imagine this would be very helpful if they were actually working.

Thanks,

Jake

Question information

Language:
English Edit question
Status:
Solved
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Last query:
2010-02-03
Last reply:
2011-10-22
RaiMan (raimund-hocke) said : #1

look at http://sikuli.org/doc/edu/mit/csail/uid/Pattern.html

anyColor() an anySize() are not implemented right now.

Hi there developement: what are your plans?

Launchpad Janitor (janitor) said : #2

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

AnySize() doesn't work so ?

RaiMan (raimund-hocke) said : #5

not implemented (Sikuli X 1.0 rc3)

RaiMan (raimund-hocke) said : #6

a request bug now