Kinect Azure Body Tracking Coordinate Mapping

1.3k Views Asked by At

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

2

There are 2 best solutions below

0
On

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

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

1
On

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."