Giter Site home page Giter Site logo

gesture_recognition_mpu6050's Introduction

Hand Gesture Recognition using MPU6050 ( English Alphabet Detection)

This is a project based on hand Gesture Detection using the accelerometer and gyroscope values from mpu6050 . The real time sensor data is also plotted in a window while running the program.

Dynamic Time Warping

In time series analysis, Dynamic time warping (DTW) is one of the algorithms for measuring similarity between two temporal sequences, which may vary in speed. For instance, similarities in walking could be detected using DTW, even if one person was walking faster than the other, or if there were accelerations and decelerations during the course of an observation. DTW has been applied to temporal sequences of video, audio, and graphics data indeed, any data that can be turned into a linear sequence can be analyzed with DTW. In this project, we want to compare the time series ,ie, the 3-axis accelerometer data and find similarities between them so that we can build a model which can predict the gesture ,ie, letters of english alphabets.

DTW Barycenter Averaging algorithm

Template generation for DTW

We have used , DTW Barycenter Averaging algorithm to generate template of each class and during 'predict mode' , we can run DTW to calculate distance between these templates and the testing time series to predict the gesture.

Implementation Specific

The program has two modes

  • Train Mode
  • Predict Mode

Train mode can be used to add new gestures to the dataset while predict mode is used to predict the gestures (real-time testing)

  • train.csv has the dataset generated using MPU6050 sensor
  • reader.py is the main program which acts as interface with MPU6050 is

Visualization

  • Run analysis.py to visualize the plots of the dataset of each class
  • Run trajectory.py to visualize the 3-D motion of the pen on a 3D plot

DTW algorithm

  • The DTW Barycenter Average algorithm and DTW algorithms are implemented in DBA.py

gesture_recognition_mpu6050's People

Contributors

shaantanu314 avatar vijay13aba avatar

Stargazers

 avatar

Watchers

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