Kinect / PyKinect2

Wrapper to expose Kinect for Windows v2 API in Python
MIT License
496 stars 236 forks source link

Joints coordinates #28

Closed arnoldad0423 closed 7 years ago

arnoldad0423 commented 8 years ago

First of all, thanks for the code. I am using your code, and I am just wondering whether I can retrieve each joint coordinate (maybe like in x and y values, or x, y, and z values).

Big thanks in advance. Looking forward for any response.

karansaxena commented 8 years ago

Use this: print joint_points[PyKinectV2.JointType_FootLeft].x , joint_points[PyKinectV2.JointType_FootLeft].y

BTW, could you manage to figure out anything more? I am not able to make much sense of the values printed. How do I map them to real world? I am looking for a way to extract depth field as well. Any pointers? Thanks.

karansaxena commented 8 years ago

@arnoldad0423 , were you able to get the Z coordinate? I had no success.

vladkol commented 7 years ago

Duplicate #31