# How to save 3D joint coordinates of the Human skeleton

**URL:** <https://community.stereolabs.com/t/how-to-save-3d-joint-coordinates-of-the-human-skeleton/401>\
**Category:** Uncategorized\
**Created:** [August 9, 2021, 5:30am UTC](https://community.stereolabs.com/t/how-to-save-3d-joint-coordinates-of-the-human-skeleton/401 "2021-08-09T05:30:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![isola](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/i/ba9def/32.png) [@isola](https://community.stereolabs.com/u/isola)\
**Post date:** [August 9, 2021, 5:30am UTC](https://community.stereolabs.com/t/how-to-save-3d-joint-coordinates-of-the-human-skeleton/401/1 "2021-08-09T05:30:27Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![quythao.truong](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/q/c68b51/32.png) [@quythao.truong](https://community.stereolabs.com/u/quythao.truong)\
**Post date:** [August 9, 2021, 9:29am UTC](https://community.stereolabs.com/t/how-to-save-3d-joint-coordinates-of-the-human-skeleton/401/2 "2021-08-09T09:29:27Z")

</div>

Hi @isola,

You can access a detected person’s 3D keypoint coordinates through the attribute sl.ObjectData.keypoint (API doc [here](https://www.stereolabs.com/docs/api/python/classpyzed_1_1sl_1_1ObjectData.html#aafbf8d93fd6b830c5322f8a5009ec6b2)).

This will output an array of size (18,3) representing the (x,y,z) coordinates of the following 18 joints : [BODY\_PARTS](https://www.stereolabs.com/docs/api/python/classpyzed_1_1sl_1_1BODY__PARTS.html)

Here is an example of how to access each of these joint coordinates in Python : [Body Tracking tutorial](https://github.com/stereolabs/zed-examples/blob/650cef365e9dbfd71760d9874cb80e3a27ad9f30/tutorials/tutorial%208%20-%20body%20tracking/python/body_tracking.py#L98)

You can then save them in the format you want (text file, csv …)

Hope this helps !

---

<div class="post-metadata">

**Author:** ![isola](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/i/ba9def/32.png) [@isola](https://community.stereolabs.com/u/isola)\
**Post date:** [August 9, 2021, 9:38am UTC](https://community.stereolabs.com/t/how-to-save-3d-joint-coordinates-of-the-human-skeleton/401/3 "2021-08-09T09:38:50Z")

</div>

Wow, Many thanks. This is very helpful @quythao.truong
