Code Monkey home page Code Monkey logo

bci-speller's Introduction

BCI-hack: Mind keyboard

Build Status Codacy Badge

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.

Applications

The whole workflow:

  1. Receiving raw signal from BS interface [blueatooth] (apps/detector_peaks.py)
  2. Processing & cleaning signals from BCI (apps/detector_peaks.py)
  3. Detecting commands and sending to backend [sockets] (apps/detector_peaks.py)
  4. Broadcasting actions from backend to frontend (apps/websocket_client.py & web_speller/*)
  5. Controlling the keyboard in the frontend application (web_speller/*)

Data processing

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

BackEnd

backend

FrontEnd

keyboard

The layout is located in landing page

Data

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

bci-speller's People

Contributors

borda avatar honzatmn avatar skarzi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.