3 ms·
I was thinking about this... this is not my area of expertise but need it be more complicated than sampling a population of random pixels, convert from rgb to a
by jszymborski 2y ago
I was thinking about this... this is not my area of expertise but need it be more complicated than sampling a population of random pixels, convert from rgb to a colour space with lightness measures (like HSL) and calculating the difference at every frame?
- mystified5016 2y agoIt's more than just a frame to frame brightness difference. AIUI epilleptic triggers are more dependent on frequency of change over some period of time. As well as the absolute brightness difference. You'd have to measure changes over a longer time and possibly predict into the future. Maybe you could get away with detecting single frame brightness changes over a threshold and sort of smear the change over a period of time. Similar to that awful temporal shader that so many games use now.