1

I am wondering, is there is a way to get Joint Position in color and depth space, similar to the v2 coordinate mapper MapCameraPointToColorSpace and MapCameraPointToDepthSpace?

Also how can I map the body index image to color image?

Thanks

Trolg
  • 51
  • 6

2 Answers2

2

The k4abt_skeleton_t from Azure Kinect Body Tracking SDK provides 3D joint locations in the depth camera space. You can project the skeleton joints into the color sensor space using the provided 3d to 2d conversion APIs from the Azure Kinect Sensor SDK.

"Transform a 3D point of a source coordinate system into a 2D pixel coordinate of the target camera."

For transforming the body index image to the RGB image, take a look at the following APIs in the Azure Kinect Sensor SDK:

"Transforms depth map and a custom image into the geometry of the color camera."

A B
  • 21
  • 2
  • Thanks for your answer. I am using the c# API. I managed to get the joint positions from calibration but transformation.DepthImageToColorCamera(bodyIndexImage) throws the exception Invalid argument to image_create(). Do this work in c API? – Trolg Jan 10 '20 at 17:06
0

It seems that MapCameraPointToColorSpace and MapCameraPointToDepthSpace are replaced by Calibration TransfromTo2D.

I haven't found a solution for mapping the body index image.

Trolg
  • 51
  • 6