Authors: Jiri Borovec [data processing] & Łukasz Skarżyński [frontend/backend] & Jan Toman [design] & Marcin Matłacz [frontend/backend]
The idea is having liners kaybord and orienting over the keyboard by blinking which appears in the EEG as artifacts. We can set start/stop blink and double blink for a change... Used device Brain-Computer Interface (BCI) from g.TEch. See Writing-with-our-mind.
The whole workflow:
- Receiving raw signal from BS interface [blueatooth] (
apps/detector_peaks.py
) - Processing & cleaning signals from BCI (
apps/detector_peaks.py
) - Detecting commands and sending to backend [sockets] (
apps/detector_peaks.py
) - Broadcasting actions from backend to frontend (
apps/websocket_client.py
&web_speller/*
) - Controlling the keyboard in the frontend application (
web_speller/*
)
The data processing application is decoding BCI signal and sending commands to backend. The used communication to the BCI devise is labstreaminglayer.
Future ideas:
- detect blinking
To simulate data sending use apps/simul_send_data.py
The layout is located in landing page
The can be streamed from the BCI device in following 17 channels, each as float32. The repository contains also recording samples of visual artifacts such as blinking and biting in sequences and blinking by both/left/right eye.
Recorded channels, in this particular "vision" configuration we were observing 8 eeg channels measuring mainly back part of human scale related to vision perception>.
- 8 EEG
- 3 ACC
- 3 Gyro
- 1 battery
- 1 count
- 1 val IO
Required pre-processing, see sample notebooks
- remove the moise caused by electricity - 50Hz, use Notch filter
- band pass filter on 0.5 to 30Hz