Skip to content

A Novel Approach to game control using hand gestures and biosignals

Notifications You must be signed in to change notification settings

Proac-Tee/bitalino_project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EMGaming

A Novel Approach to game control using hand gestures and biosignals


About the Stack


Data Acquisition and Processing

Python

Install Dependencies

  1. Anaconda - Follow instructions to install the latest version of anaconda distribution for your platform in the Anaconda docs

  2. Virtual Environment - We recommend working within a virtual environment whenever working on this projects. This keeps the dependencies separate and organized. Instructions for setting up a virual environment for your platform can be found in the python docs

  3. PIP Packages - Once your virtual environment is setup and running, install the required dependencies by running the following in the anaconda shell prompt:

conda install sys
conda install pylsl
conda install pywt
conda install pygame

Lab Streaming


OpenSignal

The Opensignal software comes bundled together with the bitalino device.


Run the Program

  • First ensure that the bitalino device is paired via bluetooth to the target pc

  • Open the open signal software and initialised the port the EMG sensor is connected

  • Activate the LSL streaming channel and set to auto.

Once the streaming signal has been initialised

  • From the base directory after creating the virtual environment.

  • To run the program, kindly execute the following command in the anaconda prompt or gitlab terminal:

py game.py

The stop the program run Ctrl + c from your windows laptop or CMD + c on Mac.


Tasks completed in this code branch includes:


Data Acquisition Layer

The data acquisition stage was implimented using python.


LAB Streaming Layer

This LSL stage has been was implimented using python.


Data Cleaning Layer

This was done using wavelength transform.


Feedback layer Layer

This feedback from the user stage has been fully implemented.


PYGame Integration

The PYGame integratio was implimented using python threading.


Graphs


Chunk Before Muscle Detection

Chunk Before Muscle Detection


Chunk After Muscle Detection

Chunk After Muscle Detection


Raw Before Muscle Detection

Raw Before Muscle Detection


Raw After Muscle Detection

Raw After Muscle Detection


Filterd signal Before Muscle Detection

Filterd signal Before Muscle Detection


Filtered signal After Muscle Detection

Filtered signal After Muscle Detection


Rectified signal Before Muscle Detection

Rectified signal Before Muscle Detection


Rectified signal After Muscle Detection

Rectified signal After Muscle Detection


EMG Before Muscle Detection

EMG Before Muscle Detection


EMG After Muscle Detection

EMG After Muscle Detection


Bar Before Muscle Detection

Bar Before Muscle Detection


Bar After Muscle Detection

Bar After Muscle Detection


About

A Novel Approach to game control using hand gestures and biosignals

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages