Azure Kinect Body Tracking SDK  0.9.5

◆ k4abt_frame_get_body_id()

uint32_t k4abt_frame_get_body_id ( k4abt_frame_t  body_frame_handle,
uint32_t  index 
)
related

Get the body id for a particular person index from the k4abt_frame_t.

Parameters
body_frame_handleHandle to a body frame object returned by k4abt_tracker_pop_result function.
indexThe index of the body of which the body id information is queried.
Returns
Returns the body id. All failures will return K4ABT_INVALID_BODY_ID.
Remarks
Called when the user has received a body frame handle and wants to access the id of the body given a particular index.