sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #08634
[Bug 673995] Re: [request] Transparent pixels should be ignored in matching process
Like you, I don't know yet how matchTemplate operates on transparent
pixels. I still have to dive deeper into the code. But it's possible
that it ignores the alpha layer entirely. It would explain that
transparent white could be a good fit for light background. If you try
with transparent black, it will probably be better on dark backgrounds.
Anyway, I'll still investigate the OpenCV code, which is interesting in
its own right.
Thanks.
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/673995
Title:
[request] Transparent pixels should be ignored in matching process
Status in Sikuli:
New
Bug description:
I'm using Sikuli 0.10.2 on a 32-bit Windows XP system. I just noticed
that if you are using a png file, containing transparent pixels as a
pattern for image recognition, these pixels are not skipped during the
matching process, thus resulting in a wrong match if you have some
kind of background under the transparent part of the image. I think
this behavior is incorrect - and Sikuli could be even more powerful if
able to skip some pixels from the pattern.
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/673995/+subscriptions