Our team developed a chromium extension that seamlessly modifies screen brightness according to the brain feedback of the user. Since alpha band frequency activity corresponds to a physically and mentally relaxed state and beta band frequency activity relates to an awake and alert frame of mind, we utilized the beta to alpha ratio to quantify one’s awakeness. This project was developed using the Brains At Play boilerplate for electroencephalography (EEG) signal acquisition and device interfacing. This boilerplate utilizes javascript which became the core language for our project. The raw data stream from the device is then processed using an FFT function from the fft-js library. We then perform frequency analysis on the EEG signals allowing us to break up the brain waves into their respective frequency bands. The beta to alpha band ratio was then calculated and displayed in a live datastream plot using tools from the Plotly.js library. Our chromium extension was developed using the google extensions framework. This framework allows our extension to be used on any tab in a chromium-based browser. We implemented two modes of screen brightness control: toggle and dynamic. The Toggle mode adds or removes a screen shade when eyebrows are raised. The Dynamic mode will increase or decrease the brightness depending on the changes to the beta to alpha band ratio.
Built With
- bci
- chromium
- css3
- html5
- javascript
Log in or sign up for Devpost to join the conversation.