-
Notifications
You must be signed in to change notification settings - Fork 17
MSKinectService
Arthur Nishimoto edited this page Jul 22, 2014
·
5 revisions
Last revision: ver. 5.0 - 21 July 2014
Uses the Microsoft Kinect for Windows SDK to access joint and (eventually) speech recognition data. Kinect v2.0 support is currently in development and is not in the current public build.
- Service type: Mocap
-
Event types:
Update - Event data fields: position (head) and extraData float array containing joint position
-
timestamp: -
sourceID: Skeleton / body ID -
serviceID: -
serviceType: Mocap -
type: Update -
flags: 0 (not used) -
position: x, y, z of the skeleton's head -
orientation: not used
The following extra data float array field numbering matches the OpenNIService skeleton IDs since there are more OpenNI joints than Kinect for Windows. Alternate names between Kinect SDK versions are noted. getExtraDataVector3() will return (0,0,0) if that joint does not apply for the current tracking system (OpenNI, Kinect for Windows (v1.x or v2.0)).
-
ExtraDataVector3 0: HipCenter (Kinect v1.x) / SpineBase (Kinect v2.0) -
ExtraDataVector3 1: Head -
ExtraDataVector3 2: Neck (OpenNI and Kinect v2.0 only) -
ExtraDataVector3 3: Torso (OpenNI only) -
ExtraDataVector3 4: Waist (OpenNI only) -
ExtraDataVector3 5: LeftCollar (OpenNI only) -
ExtraDataVector3 6: ShoulderLeft -
ExtraDataVector3 7: ElbowLeft -
ExtraDataVector3 8: WristLeft -
ExtraDataVector3 9: HandLeft -
ExtraDataVector3 10: RightFingerTip (OpenNI and Kinect v2.0 only) -
ExtraDataVector3 11: HipLeft -
ExtraDataVector3 12: KneeLeft -
ExtraDataVector3 13: AnkleLeft -
ExtraDataVector3 14: FootLeft -
ExtraDataVector3 15: RightCollar (OpenNI only) -
ExtraDataVector3 16: ShoulderRight -
ExtraDataVector3 17: ElbowRight -
ExtraDataVector3 18: WristRight -
ExtraDataVector3 19: HandRight -
ExtraDataVector3 20: RightFingerTip (OpenNI and Kinect v2.0 only) -
ExtraDataVector3 21: HipRight -
ExtraDataVector3 22: KneeRight -
ExtraDataVector3 23: AnkleRight -
ExtraDataVector3 24: FootRight -
ExtraDataVector3 25: Spine (Kinect v1.x) / SpineMid (Kinect v2.0) -
ExtraDataVector3 26: ShoulderCenter (Kinect v1.x) / SpineShoulder (Kinect v2.0) -
ExtraDataVector3 27: ThumbLeft (Kinect v2.0 only) -
ExtraDataVector3 28: ThumbRight (Kinect v2.0 only)
-
updateInterval (float): the delay time in seconds between polling for new data (default: 0.01)