Giter Club home page Giter Club logo

tuioskeleton's Introduction

TUIOSkeleton - A TUIO server for OpenNI devices.

This TUIO server implementation is intended to send TUIO messages to a client with the users hands active as cursors. It is specialized for large display systems in that hand positions are not necessary scaled and sent directly as TUIO cursors, but can form vectors that extend beyond the field of view of the camera sensor.

This implementation supports auto-calibration of users, and the number of tracked users is limited only by the hardware used (4 for Kinect). For advanced usage, please see the options.

Dependencies:
CMake will check for most things (QT, GL, etc.), but it will not check for OpenNI and SensorKinect.

Before building, make sure you have installed:
OpenNI, NITE, and if you use the Kinect, SensorKinect.
OpenNI: http://www.openni.org/Downloads/OpenNIModules.aspx
NITE: http://www.openni.org/Downloads/OpenNIModules.aspx (under Middleware)
SensorKinect: https://github.com/avin2/SensorKinect (make sure you have the unstable version of OpenNI if you are using Kinect)

Build with CMake:

git co git://github.com/bmwesting/TUIOSkeleton.git
mkdir build
cd build
cmake -i ../TUIOSkeleton
make

Usage Examples:

$ TUIOSkeleton
(Runs TUIOSkeleton in hand tracking mode with a threshold of 400 mm from hand to shoulder of user to activate cursor) You effectively 'reach' for the screen to activate the cursor.

$ TUIOSkeleton -t 500
(Extend the default threshold for activating cursor to 500 mm)

$ TUIOSkeleton --save-calibration user.skel
(Save the calibrated skeleton to file 'user.skel' for future use)

$ TUIOSkeleton --load-calibration user.skel
(Load the calibration file 'user.skel' - Psi Pose not necessary for calibration)

$ TUIOSkeleton --load-calibration user.skel --mode-vector
(Load calibration and user vector mode - an optimized mode for large displays)

$ TUIOSkeleton -h
(Prints help message, below)

$ TUIOSkeleton -h
Command line options: 
--help:             Print this message.
--set-port:         Set TUIO UDP Port (default: 3333)
--set-target-ip:    Set TUIO target IP (default: 127.0.0.1)
--no-confidence:    Set Confidence Tracking off.
--no-graphics:      Command line only.
--set-smoothing:    Set smoothing value (default: 0.8)
--set-threshold:    Set threshold value (default: 400)
--save-calibration: Save the calibrated skeleton after calibration
--load-calibration: Load a calibration file when user detected
--mode-vector:      Project cursors using head->hand vector

tuioskeleton's People

Contributors

bmwesting avatar

Watchers

guozanhua avatar 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.