SikuliX1 icon indicating copy to clipboard operation
SikuliX1 copied to clipboard

Trigger onChange event only when pixels differ more than a certain level ?

Open Hexalyse opened this issue 5 years ago • 1 comments

It is currently possible to set a number of pixel changed to trigger a change event. But would it be also possible to set by ”how much” (brightness or hue change or something like this) pixels must change to trigger the event?

I need to detect a change on a streamed, compressed video stream. So sometimes it contains some compression artefact and could trigger the event when it shouldn’t. Setting a threshold difference would solve this issue.

Hexalyse avatar Sep 04 '20 21:09 Hexalyse

I will evaluate the options.

RaiMan avatar Sep 14 '20 11:09 RaiMan