-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathREADME
More file actions
55 lines (41 loc) · 2.41 KB
/
README
File metadata and controls
55 lines (41 loc) · 2.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
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