← Back to team overview

sikuli-driver team mailing list archive

[Bug 1789080] Re: [1.1.4] Transparency: findAll() with mask patterns does not work --- fixed 2018-08-27

 

should work with latest build.

** Summary changed:

- [1.1.4] Transparency: findAll() with mask patterns does not work
+ [1.1.4] Transparency: findAll() with mask patterns does not work --- fixed 2018-08-27

** Changed in: sikuli
   Importance: High => Critical

-- 
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 ---
  fixed 2018-08-27

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


References