Answered Extract Kinect skeleton coordinates values

  • Friday, January 27, 2012 8:11 PM
     
     

    Hello

    I would like to know how to extract the values ​​of the
    skeleton coordinates in vpl


    example: hand left - (coord x)



    • Edited by konnect rob Friday, January 27, 2012 8:15 PM
    • Edited by konnect rob Friday, January 27, 2012 8:28 PM
    •  

All Replies

  • Friday, February 03, 2012 9:11 PM
     
     
    i'd like to know that too... any help would be greatly appreciated :)
  • Thursday, March 15, 2012 12:32 AM
    Owner
     
     Proposed Answer
    1. You must be using the final release of RDS4 and final release of Kinect for Windows 1.0
    2. Instead of looking at the "Notifications" you must instead perform a "QueryRawFrame" and respond to the "Success" message
    3. The data you seek is in the RawFrames object...

    RawFrames.RawSkeletonFrameData.SkeletonData[0].Joints[JointType.HandLeft].Position.X

  • Thursday, March 22, 2012 5:11 AM
     
     

    Great - After this, is it possible to display the extracted values ​​of the skeleton coordinates in vpl in a Dialog or something so that I can see it? I hope that my questions is clear.

    Like this...  

  • Tuesday, March 27, 2012 12:34 AM
    Owner
     
     Answered

    Use the "UpdateControl" message from the Calculate activity.

    If you want to get continuous updates from the Kinect you can use a timer like this.
    I set the timer to 250ms initially and then reset it to 250ms after the dialog update is successful.

    Once the Kinect has recognized a skeleton, the dialog will update the assigned field with the new data every 250 ms

  • Tuesday, April 10, 2012 4:52 AM
     
     
    I'm having some issues getting this example to work properly in VPL. What are your data connection parameters for the Kinect box and the Flexible Dialog box? Thanks!
  • Friday, April 20, 2012 3:41 AM
     
     
    I'm still unable to get this VPL code outlined above to function. Can you provide a sample file?