Skip to content

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

Notifications You must be signed in to change notification settings

Rishabh-Tripathi1/EpilepsyShield

Repository files navigation

EpilepsyShield Chrome Extension

Problem Statement

Epilepsy is a neurological disorder that affects the central nervous system, leading to seizures and loss of awareness for a period of time. One specific type of epilepsy is Photosensitive Epilepsy, where seizures can be triggered by flashing lights or rapid changes in light and dark patterns. During seizures, individuals may experience uncontrollable jerking movements of their arms and legs. In today's digital age, online platforms like YouTube, with over 2.6 billion monthly users, often use flashy visual elements to capture audience attention. Unfortunately, not all videos contain warnings about these potentially seizure-inducing elements, putting vulnerable individuals at risk. To address this issue, we present EpilepsyShield. 🛡️

EpilepsyShield

EpilepsyShield is a Chrome extension designed to enhance the safety of individuals with Photosensitive Epilepsy while using YouTube. This innovative extension continuously monitors the content being played on the platform and takes immediate action to prevent users from encountering flashing visuals that could trigger seizures. Here's how it works:

  1. Real-time Video Analysis: EpilepsyShield continuously captures frames from the video being played on YouTube. 📹

  2. Brightness Comparison: It calculates the brightness of each frame and compares it to the previous one, tracking changes in luminosity. 🔍

  3. Anomaly Detection: If a sudden spike in brightness is detected within the video, indicating the presence of flashing elements, EpilepsyShield activates. 🚨

  4. User Alert: The extension displays a warning notification for the user, alerting them to the potential presence of flashing content in the video. ⚠️

Technologies Used

EpilepsyShield is built using a combination of web technologies to deliver a seamless and effective user experience. These technologies include:

  • HTML5: The standard markup language used for creating the structure and content of the extension's user interface. 🌐

  • JavaScript: The programming language that powers the logic and interactivity of EpilepsyShield, including real-time video analysis. 💻

  • CSS: Cascading Style Sheets are employed to style the extension, ensuring a visually pleasing and user-friendly interface. 🎨

  • JSON: JSON (JavaScript Object Notation) is used for configuration and data exchange within the extension. 📄

How to Install

EpilepsyShield is currently only available for download from the GitHub. Follow these simple steps to add it to your Chrome browser:

  1. Open your Chrome web browser. 🌐

  2. Navigate to the EpilepsyShield Github Repo. 🛡️

  3. Click the "Add to Chrome" button. ➕

  4. Confirm the installation when prompted. ✅

  5. Once installed, you will see the EpilepsyShield icon in the Chrome toolbar. 🛡️

How to Use

Using EpilepsyShield is effortless:

  1. Ensure the extension is enabled by clicking on the EpilepsyShield icon in the Chrome toolbar. When activated, the icon will change its appearance to indicate that it is actively monitoring YouTube videos. 🛡️

  2. Start watching YouTube videos as you normally would. EpilepsyShield will work in the background, continuously analyzing video frames for potential flashing content. 📺

  3. If flashing elements are detected, a warning notification will appear on your screen, alerting you to exercise caution. ⚠️

  4. You can customize the extension's settings by clicking on its icon and accessing the options menu. ⚙️

Contributing

We welcome contributions from the community to help improve and enhance EpilepsyShield. If you're interested in contributing to this project, please check out our GitHub repository and follow our guidelines for submitting pull requests. 🤝

Contact

If you have questions, concerns, or feedback regarding EpilepsyShield, please don't hesitate to contact us at [email protected]. ✉️

License

EpilepsyShield is released under the MIT License. Please review the License file for more details. 📜

Thank you for using EpilepsyShield. Together, we can make online content safer for everyone, especially those with Photosensitive Epilepsy. 🌟

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •