Coder Social home page Coder Social logo

loserup / flexemg Goto Github PK

View Code? Open in Web Editor NEW

This project forked from a-moin/flexemg

0.0 1.0 0.0 213.29 MB

An EMG Gesture Recognition System with Flexible High-Density Sensors and Brain-Inspired High-Dimensional Classifier

License: GNU General Public License v3.0

MATLAB 100.00%

flexemg's Introduction

flexemg: An EMG Gesture Recognition System with Flexible High-Density Sensors and Brain-Inspired High-Dimensional Classifier

This repository provides the dataset and MATLAB scripts used in [1]. It is publicly available under GNU General Public License v3.

Repo structure

Note that all scripts are commented with function descriptions, input arguments, returns, etc.

  • data/: Dataset containing raw EMG signals for 5 hand gestures from 3 subjects across multiple sessions. For more details check section IV.A (Generating Dataset) in the paper [1].
  • funcs/: Contains internal functions for hyperdimensional computing.
  • arraymap.mat: 16x4 matrix maps each electrode's physical position in the array to its corresponding channel index in the raw matrices.
  • genfilter.m: Generates the filters used in preprocessing EMG signals.
  • genheat.m: Generates a set of heatmaps for each gesture from a session (Figure 4b in the paper [1]).
  • genlabels.m: Parses raw recording files to create data labels.
  • getacc.m: Main function - trains and tests the HD classifier.
  • prefilter.mat: Saved filter coefficients from running genfilter.m.

Sample usage

To find the classification accuracy for Subject 1 with N=5 (n-gram length) using 10 trials for training and data from all 64 channels, you can call getacc in the following way:

[out, correct, accs] = getacc(1, 5, 10, [1:64], './data/001-Session1Train/', './data/001-Session1Test/')

Problems?

If you face any problems or discover any bugs, please let us know: MyLastName AT berkeley DOT edu

For more info, you can read and cite our paper:

[1] A. Moin, A. Zhou, A. Rahimi, S. Benatti, A. Menon, S. Tamakloe, J. Ting, N. Yamamoto, Y. Khan, F. Burghardt, L. Benini, A. Arias, and J. Rabaey, "An EMG Gesture Recognition System with Flexible High-Density Sensors and Brain-Inspired High-Dimensional Classifier," 2018 IEEE International Symposium on Circuits and Systems (ISCAS), Florence, Italy, 2018.

flexemg's People

Contributors

a-moin avatar

Watchers

James Cloos 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.