Coder Social home page Coder Social logo

peterzs / handinput Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ushadow/handinput

0.0 1.0 0.0 9.84 MB

Hand tracking and gesture recognition

Home Page: http://groups.csail.mit.edu/mug/projects/gesture_kinect/

License: MIT License

C# 55.62% C++ 43.77% C 0.61%

handinput's Introduction

handinput

Real-time hand tracking and gesture recognition system based on PhD thesis: Real-time Continuous Gesture Recognition for Natural Multimodal Interaction.

Dependencies

To run

To compile

Run

GesturesViewer.exe in the GesturesViewer project is the main interface to run the program. Once the program starts, the "Keys" panel shows the shortcut keys for certain actions. The most important keys are:

  • S: Start the kinect, no gesture recognition.
  • T: Start tracking and gesture recognition. The gestures are defined in gesture_def.txt. See the illustraion of how to do these gestures.

To improve the accuracy of gesture recognition, you need to train your own model.

  1. Record training examples
  2. Click "Capture Gesture" button.
  3. Follow the prompt to give training gesture examples. The gesture raw data will be saved in the {data_dir}/PID-{user_pid}/{time} directory. data_dir s specified in the GesturesViewer/App.config file.
  4. In the end, the program will process and train a new model using all the data recorded in the data_dir directory.
  5. Press "T" to start tracking and gesture recognition

How to interpret the recognition result

The gesture tracking and recognition result outputs the follow result in a JSON string for each frame: { eventType: <type of geseture event: StartPreStroke|StartNucleus|StopNucleus>, gesture: <name of the gesture>, phase: <PreStroke|Nucleus|PostStroke|Rest>, rightX: <x coordinate of right hand>, rightY: <y coordinate of right hand>}

Modules

  • GesturesViewer: UI Interface for recording geseture training examples and viewing debug information.
  • Util: reusable utility functions.

handinput's People

Contributors

ushadow avatar

Watchers

 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.