Capture position of joints on X, Y, Z axes with Kinect V2

6

I need to extract the position of the joints from a recording and / or in real time, and convert to database format and / or file (txt). Similar to what is done in this video , but instead of displaying need to save the X, Y, Z for each of the 26 joints.

In the documentation provided by Microsoft it is shown how to do real-time tracing, but not how to extract the raw data from these variables.

Track Body 1

Track Body 2

If you can not save, how can I extract this data directly from the standard format of files recorded by Kinect Studio (% formats% and .xrf )?

I also want to know the difference between classes .xef , BodyIndexFrame and BodyFrame

The script to get this data can be done in any language, but I imagine it will be done in C ++ / C # as the rest of the work.

    
asked by anonymous 13.04.2015 / 23:59

1 answer

2
  • Can not extract position of files .xrf and .xef .

  • Body is the class that contains the state and the position (x, y, z axes) of all joints of a person A being tracked.

  • BodyFrame is the class used to save the output stream from the Kinect V2 (raw data) of each body being tracked.
  • BodyIndexFrame is the BodyFrame casting class to the interpretation and display of data in standard output.

  • The position of the joints can be found in Body.Joints.Values.Position. [X, Y or Z], example here .

Follow the solution.

  

link

It is an implementation from another, referenced in the project README itself. The project will receive several features in the short to medium term.

    
25.04.2015 / 04:13