Flash detection based on frame histogram

asked 2014-04-08 05:18:29 -0500

updated 2014-04-08 05:23:59 -0500

berak gravatar image


I'm developing a tool to detect video sequences that are harmful to viewers with photosensitive epilepsy.

I'm considering to detect flash sequences based on the frames's histogram. The sequences of flashes should not last more than 5 seconds and it is not permitted to have more than 3 flashes in 1 seconds (aprox separated by 8/9 frames in a 25 fps display).

Do you have any tips to how to implement this verification?

I'm considering to base my approach on the difference of histograms along a 9 frame gap.

Best regards.

edit retag flag offensive close merge delete