EpilepsyShield

EpilepsyShield

A chrome extension that detects flashing lights from YouTube videos and skips those segments to help people suffering from Photosensitive Epilepsy enjoy the videos.

Created on 21st January 2023

EpilepsyShield

EpilepsyShield

A chrome extension that detects flashing lights from YouTube videos and skips those segments to help people suffering from Photosensitive Epilepsy enjoy the videos.

The problem EpilepsyShield solves

In today's flashy world, YouTube has over 2.6 Billion monthly users. In order to attract audience, youtubers use flashy lights and elements in their product. A person suffering from Photosensitive Epilepsy can come across such elements quite easily if there is not prior warning displayed. Not every video has such warning thus, vulnerable people can suffer seizures. To prevent this mishap, we have EpilepsyShield.

This is a chrome extension that works while the user is using YouTube. It prevents the user from coming across any flashing visuals on the screen. The extension continuously reads frames from the video and calculates the differences between the brightness of each frame from the previous one to detect any anomaly. When a sudden spike is detected in the video that displays a warning for the user, alerting them about the flashing elements in the video.

Challenges we ran into

  1. Adding overlays to lower the intensity of the flashes in the videos.

  2. Skipping parts of the video that contains flashing segment was quite difficult to implement.

  3. The calculation of luminosity of each frame was based on an average scale.

Discussion

Builders also viewed

See more projects on Devfolio