Skeleton key point data saving


I want to save the skeleton keypoints in zed-samples/body-tracking/python/body_tracking. What is the accuracy of the data? Is there a function similar to Kinect to convert these skeleton data into action files such as .bvh .fbx?

Hello? Is there anyone who can answer my question?

I have written keypoints into a CSV file. Create a new csv file (import csv) outside the while loop. Within the while loop in the example you can loop through the keypoints associated with each body and save this into the CSV e.g. -

     ## go through all bodies and get the keypoints and add to a file    
     for body in bodies.object_list: 
          keypoints_row =  list(np.array([[kp_3d] for kp_3d in body.keypoint]).flatten())
          # Export to CSV
          with open(fileout, mode='a', newline='') as f:
              csv_writer = csv.writer(f, delimiter=',', quotechar='"', quoting=csv.QUOTE_MINIMAL)
              csv_writer.writerow(keypoints_row )