I will like to ask if it is possible to save 3D coordinates of each joint. The aim is to save multiple human poses/skeletons in csv format. Can you please help
Hi @isola,
You can access a detected person’s 3D keypoint coordinates through the attribute sl.ObjectData.keypoint (API doc here).
This will output an array of size (18,3) representing the (x,y,z) coordinates of the following 18 joints : BODY_PARTS
Here is an example of how to access each of these joint coordinates in Python : Body Tracking tutorial
You can then save them in the format you want (text file, csv …)
Hope this helps !
Wow, Many thanks. This is very helpful @quythao.truong