sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #48205
[Bug 1789080] [NEW] [1.1.4] Transparency: findAll() with mask patterns does not work
Public bug reported:
code1: worked
code2: FindFailed exception occurred
[code1:]
maskImg = Pattern("cone-mask.png").asMask()
maskedPtn = Pattern("safety-cone.png").withMask(maskImg)
find(maskedPtn).highlight(1,"green")
[code2:]
maskImg = Pattern("cone-mask.png").asMask()
maskedPtn = Pattern("safety-cone.png").withMask(maskImg)
res = findAll(maskedPtn)
while True:
if res.hasNext():
m = res.next()
m.highlight(1,"blue")
else:
break
https://photos.app.goo.gl/zj9JQLE8dfi9Wr9w8
** Affects: sikuli
Importance: High
Assignee: RaiMan (raimund-hocke)
Status: Fix Committed
** Changed in: sikuli
Status: New => Fix Committed
** Changed in: sikuli
Importance: Undecided => High
** Changed in: sikuli
Assignee: (unassigned) => RaiMan (raimund-hocke)
** Changed in: sikuli
Milestone: None => 1.1.4
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1789080
Title:
[1.1.4] Transparency: findAll() with mask patterns does not work
Status in Sikuli:
Fix Committed
Bug description:
code1: worked
code2: FindFailed exception occurred
[code1:]
maskImg = Pattern("cone-mask.png").asMask()
maskedPtn = Pattern("safety-cone.png").withMask(maskImg)
find(maskedPtn).highlight(1,"green")
[code2:]
maskImg = Pattern("cone-mask.png").asMask()
maskedPtn = Pattern("safety-cone.png").withMask(maskImg)
res = findAll(maskedPtn)
while True:
if res.hasNext():
m = res.next()
m.highlight(1,"blue")
else:
break
https://photos.app.goo.gl/zj9JQLE8dfi9Wr9w8
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1789080/+subscriptions
Follow ups