black/white image bug, question

Asked by eliteSKL

would an older version of sikuli work for the time being to use exisits() on a mostly white image?

I'm dealing in black and white images. My script needs to know when there is an all white image vs an image with black text or writing on it.

from the bug report it looks like it was reported as an x1.rc2 bug. so should i jump back to sikuli 10.2?

is this going to be fixed in the next release?

is there any sort of behavior pattern to this bug? Like does it think that white and black are interchangeable? maybe i'm thinking to hard about this and i should just realize it's broke... lol.

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
eliteSKL
Solved:
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

the bug first was reported for rc1, but I just made some tests and it is still a bug in rc2 and updated the bug.

I do not know, wether the search engine of 10.2 delivers different results.

Revision history for this message
eliteSKL (camaro70s) said :
#2

last question... is this bug getting fixed in the next release?

well I'm going to have to start going back through the version to find out. I actually need this feature pretty desperately.

as always, thanks for your time RaiMan.

Revision history for this message
RaiMan (raimund-hocke) said :
#3

We have to wait for Sean's comment on that.

Revision history for this message
Tsung-Hsiang Chang (vgod) said :
#4

We already did a little investigation on this bug. A bad news is this is more difficult than we thought.
We will try to fix it in the next release, but no guarantee.

Revision history for this message
eliteSKL (camaro70s) said :
#5

okay thanks for the answers and your time.

i will have a work around for my script. instead of matching blank pages (all white)... i'll match non blank pages (a mix of black text and white back ground)... ex: match pages that have text and if falls below a certain percent that i will know what is not a blank page and what is a blank page.

to me if you have a mix of the two colors it seems to be fine.

well just means i have to be more creative. :)

again thanks for your time.

Revision history for this message
eliteSKL (camaro70s) said :
#6

oops i marked this solved just to close... maybe that was a bad idea? just for the recored it's not solved it just closed... lol!

Revision history for this message
Tsung-Hsiang Chang (vgod) said :
#7

It's ok. This bug is documented in the bug tracker.