sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #00409
[Bug 619253] Re: Nothing matches with exact()
** Changed in: sikuli
Status: New => In Progress
** Summary changed:
- Nothing matches with exact()
+ 0.10.2 Nothing matches with exact()
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/619253
Title:
0.10.2 Nothing matches with exact()
Status in Sikuli:
In Progress
Bug description:
Sikuli 0.10.2
ubuntu x86_64
I never get a match with exact() no matter what I put in it.
find(Pattern(....).exact())
However if I capture the screen to a file and then load up the file in finder it works...
cap=capture(SCREEN)
with Finder(cap) as fs:
fs.find(Pattern(...).exact())
while fs.hasNext():
print str(fs.next())
I found out what was going on, in OpenCV.java CS_LINEAR_RGB dims the image when it's drawn. If you use CS_sRGB exact() will match.