Git Product home page Git Product logo

hackprinceton's Introduction

Hack Princeton

Made by Can Cui, Jeremy Malloch, and Stephen Jia

##Project Description We created software that allows a Myo armband to learn and recognize actual American Sign Language gestures.

The two main pieces of software are the training/sampling module and the recognition module. The following describes how they work.

####Training/Sampling Module The software establishes a bluetooth connection with the Myo armband (referred to as armband from now on). It pulls raw EMG and magnetometer data from the armband as the user is performing a gesture. The EMG signal is processed in real time into a signal that reflects the intensity of muscle flexion at the muscle of each particular sensor (there are 8 on the armband). All 8 streams of this processed EMG data, along with the 3 streams of magnetometer data (one for each axis) are stored as a time series in CSV or JSON format, depending if the collected data is being used for training or recognition purposes.

At HackPrinceton, the CSV training file was uploaded to the Azure machine learning studio website, where a Python script converted the time series data into feature vectors describing the gestures. These feature vectors were then used to train a multi-class logistic regression model. The model created was turned into a web service, which underpinned the recognition module.

The armband interfacing, signal processing, and .csv generation code was written in C++ and used the Myo SDK to connect and access raw armband data.

####Recognition module The recognition module works in the same was as the training module up to the point of CSV file generation. Instead of generating a CSV file, the time series data was sent to Azure in JSON format. The JSON time series data was parsed, and was converted into a feature vector by the same Python script used by the model training module. The resulting feature vector was processed by the multi-class regression model. The return value of this model was sent back to the computer running the sampling module, which was then displayed to the user.

After two hundred training samples, the software could recognize 4 distinct sign language gestures with 80% accuracy. With more training samples, the accuracy would continue to increase, and more gestures could also be introduced.


#####Lastly, we owe a shoutout to Steph for being a great host at Princeton!

hackprinceton's People

Contributors

cancui avatar jeremalloch avatar ss-jia 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.