guozanhua / tuioskeleton Goto Github PK
View Code? Open in Web Editor NEWThis project forked from bmwesting/tuioskeleton
Application that tracks the hands (among other things) of an individual and relays them with the TUIO protocol.
This project forked from bmwesting/tuioskeleton
Application that tracks the hands (among other things) of an individual and relays them with the TUIO protocol.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.