Skip to content

ChristopherGS/rolltec_motion

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

#RollTec Motion

This is an open source project for motion classification of grappling martial arts using wearable sensors. The repo contains a self-contained sandbox, with ready-to-run algorithm and complete training data.

This code was created as part of a prototype wearable for grappling martial artists. Unfortunately the project crowdfunding campaign was unsuccessful: RollTec Kickstarter

As a result, the project is no longer being actively developed.

A detailed post on the feature engineering and algorithm approach is coming soon.

Setup


Code is in python 2.7. Install the dependencies listed in the requirements.txt file

The main.py file contains the starter code, and is heavily commented.

The main file is also available as a jupyter notebook.

The majority of the machine learning tasks are accomplished using scikit-learn, with the exception of the Hidden Markov Model, which leverages hmmlearn

About the Data


The accelerometer and gyroscope data were streamed from a MetaWear C sensor, made by the guys at mbientlabs. Highly recommended for wearable development.

Full server and Android app


I have a flask server which runs this classification algorithm on data sent from an Android app. This code, however, was written to get the job done, not be shared. If you're ready to wade through some very ropey code, here are the links:

Flask server Android app

About

Open source motion detection for grappling martial arts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published