Giter Site home page Giter Site logo

utsavz / skeltrack-desktop-control Goto Github PK

View Code? Open in Web Editor NEW

This project forked from joaquimrocha/skeltrack-desktop-control

0.0 1.0 0.0 109 KB

An application that uses the head and hands' positions from Skeltrack in order to control the GNOME 3 desktop

License: GNU General Public License v3.0

Makefile 2.81% Shell 13.70% M4 3.11% C 80.38%

skeltrack-desktop-control's Introduction

==========================
Skeltrack Desktop Control
==========================

This demo is an example of what can be done with Skeltrack.

It needs a Kinect device, to which it connects using GFreenect, and retrieves
the head and hands' positions from Skeltrack. Then, the positions are
interpreted as gestures which are mapped to events in the desktop using Xlib.

This demo is not supposed to be a full-blown gesture interpretation system,
so, the code is tailored to use cases in the GNOME 3 desktop.

A video showing this demo in use can be watched at:

http://vimeo.com/user1454556/skeltrackdesktopcontrol

Gestures
========

The gestures are activated when the hands are at a certain distance in front
of the head (around 30 cm); this is called the "action area".

The following list shows what gestures are interpreted as commands:
1) One hand moving: Move mouse pointer;
2) While one hand is in the action area another one hand enters
   it and quickly leaves: Perform a click;
3) While one hand is in the action area another one hand enters and stays
   there: Perform a mouse press (allowing the user to move things around
   using the other hand);

Apart from the list above, there are two modes when both hands enter the
action area at about the same time. Those are:
1) Steering Wheel Mode: Both hands are interpreted as if holding a steering
   wheel. By default the up arrow key is pressed and the left or right arrow
   keys are pressed according to the orientation of the hands.
2) Pinch Mode: Both hands are interpreted as if performing a pinch gesture,
   which results in a control + mouse wheel up/down event (because
   this is usually interpreted as zoom in/out).

skeltrack-desktop-control's People

Contributors

joaquimrocha 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.