As the title says, it's just a small program that takes Kinect skeleton data from the KinectSDK (v2) framework and spits out the coordinates of the skeleton's joints via OSC messages. These can can then be used on your language / framework of choice.
This version of OSCeleton is similar to OSCeleton-OpenNI and OSCeleton-KinectSDK.
Download and install the ClickOnce installer
If you run the executable, it will send the OSC messages in the Midas format to localhost on port 7110. To learn about the OSC message format, continue reading below.
The messages will have the following format:
Address pattern: "/osceleton2/joint"
Type tag: "siiffffd"
s: Joint name, check out the full list of joints below
i: The ID of the sensor
i: The ID of the user
f: X coordinate of joint in real world coordinates (centimetres)
f: Y coordinate of joint in real world coordinates (centimetres)
f: Z coordinate of joint in real world coordinates (centimetres)
f: confidence value in interval [0.0, 1.0]
d: time stamp in milliseconds since Unix epoch
Note: the Y coordinate is inverted compared to the default KinectSDK to be compatible with OpenNI.
The messages will have the following format:
Address pattern: "/osceleton2/hand"
Type tag: "iiiffffifd"
i: The ID of the sensor
i: The ID of the user
i: The ID of the hand (1 == Left, 2 == Right)
f: X coordinate of joint in real world coordinates (centimetres)
f: Y coordinate of joint in real world coordinates (centimetres)
f: Z coordinate of joint in real world coordinates (centimetres)
f: confidence value in interval [0.0, 1.0]
i: state of the hand (1 == Open, 2 == Closed, 3 == Lasso, 4 == Unknown, 5 == NotTracked)
f: confidence value of the hand state in interval [0.0, 1.0]
d: time stamp in milliseconds since Unix epoch
Note: the Y coordinate is inverted compared to the default KinectSDK to be compatible with OpenNI.
The messages will have the following format:
Address pattern: "/osceleton2/face_rotation"
Type tag: "iifffd"
i: The ID of the sensor
i: The ID of the user
f: pitch of the head [-90, 90]
f: yaw of the head [-90, 90]
f: roll of the head [-90, 90]
d: time stamp in milliseconds since Unix epoch
Further information about the FaceRotation properties can be found here
The messages will have the following format:
Address pattern: "/osceleton2/face_property"
Type tag: "iiffffffffd"
i: The ID of the sensor
i: The ID of the user
f: happy [0, 1]
f: engaged [0, 1]
f: wearing glasses [0, 1]
f: left eye closed [0, 1]
f: right eye closed [0, 1]
f: mouth open [0, 1]
f: mouth moved [0, 1]
f: looking away [0, 1]
d: time stamp in milliseconds since Unix epoch
Further information about the Face properties can be found here
- head -> Head
- neck -> SpineShoulder
- torso -> SpineMid
- waist -> SpineBase
- r_collar #not supported by KinectSDK (yet)
- r_shoulder -> ShoulderRight
- r_elbow -> ElbowRight
- r_wrist -> WristRight
- r_hand -> HandRight
- r_finger #not supported by KinectSDK (yet)
- l_collar #not supported by KinectSDK (yet)
- l_shoulder -> ShoulderLeft
- l_elbow -> ElbowLeft
- l_wrist -> WristLeft
- l_hand -> HandLeft
- l_finger #not supported by KinectSDK (yet)
- r_hip -> HipRight
- r_knee -> KneeRight
- r_ankle -> AnkleRight
- r_foot -> FootRight
- l_hip -> HipLeft
- l_knee -> KneeLeft
- l_ankle -> AnkleLeft
- l_foot -> FootLeft
discussion, come join the fun in a related google group!
To use the OpenNI & NITE framework in combination with OSC messages, download OSCeleton-OpenNI
To use the Kinect SDK v1.8 in combination with OSC messages, download OSCeleton-KinectSDK
Have fun!