TimothyGillespie / flashy_images_detection

In order to identify videos and animated pictures which can trigger photo sensitive seizures.
MIT License
1 stars 0 forks source link

Parse the array of dangerous seconds to second intervals #3

Open TimothyGillespie opened 5 years ago

TimothyGillespie commented 5 years ago

for example:

[1, 2, 3, 4, 8, 9, 10, 20] should become [(1, 5), (8,11), (20, 21)] The seconds only mean it start's at this second. So the end value has to be incremented.

Korosensei42 commented 5 years ago

You might want to think about going down to the level of frames. I imagine a change in brightness that takes one second would be not much of a problem for people with epilepsy.