Project

General

Profile

Actions

action #56822

open

Greyscaling of needle matches can produce false positives

Added by AdamWill over 4 years ago. Updated almost 4 years ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
Regressions/Crashes
Target version:
Start date:
2019-09-11
Due date:
% Done:

0%

Estimated time:

Description

So, check this out:

https://openqa.fedoraproject.org/tests/448886#step/disk_guided_empty/4

there's a needle match there that clearly isn't a match. The red text is completely different from the needle.

I'm pretty sure what's going on here is the color depth reduction and greyscaling that os-autoinst does when matching combine to make the background and the text the same color, so any text in that color will match the needle, as will no text at all, just the blue background (I've seen that happen in another test).

This kinda means we're stuck, beyond convincing the installer team to change the gradient or the text color or something - we just can't reliably create needles for this text. We've tried including or not including bits of the white keyboard layout indicator below the text to make this influence the image processing, but it doesn't seem to be reliable enough.

Actions

Also available in: Atom PDF